diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-12-17 00:18:59 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-12-17 00:18:59 +0100 |
commit | 8d9049603bba72f55f1fa9e47f281bb7d8bfca37 (patch) | |
tree | fa2bc45598eaf41da3a88960c1b4850f93c7b7f7 /src/Simulator/IncrementalRedstoneSimulator.h | |
parent | Removed test (diff) | |
download | cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar.gz cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar.bz2 cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar.lz cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar.xz cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.tar.zst cuberite-8d9049603bba72f55f1fa9e47f281bb7d8bfca37.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.h b/src/Simulator/IncrementalRedstoneSimulator.h index ea6c72020..3d2962c08 100644 --- a/src/Simulator/IncrementalRedstoneSimulator.h +++ b/src/Simulator/IncrementalRedstoneSimulator.h @@ -108,7 +108,7 @@ private: RepeatersDelayList * m_RepeatersDelayList; virtual void AddBlock(int a_BlockX, int a_BlockY, int a_BlockZ, cChunk * a_Chunk) override { RedstoneAddBlock(a_BlockX, a_BlockY, a_BlockZ, a_Chunk); } - void RedstoneAddBlock(int a_BlockX, int a_BlockY, int a_BlockZ, cChunk * a_Chunk, cChunk * a_OtherChunk = NULL); + void RedstoneAddBlock(int a_BlockX, int a_BlockY, int a_BlockZ, cChunk * a_Chunk, cChunk * a_OtherChunk = nullptr); cChunk * m_Chunk; // We want a_MyState for devices needing a full FastSetBlock (as opposed to meta) because with our simulation model, we cannot keep setting the block if it is already set correctly @@ -390,4 +390,8 @@ private: return RelPos; } -};
\ No newline at end of file +}; + + + + |