summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-15 20:56:45 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-15 20:56:45 +0100
commitc494d0f6f2645baa4fd356ef2250dbc3202f883a (patch)
tree4173359f4036c93a67e12c9d42d37725efe829d8 /src/Simulator/IncrementalRedstoneSimulator.h
parentFixed TNT fizzing everywhere (diff)
downloadcuberite-c494d0f6f2645baa4fd356ef2250dbc3202f883a.tar
cuberite-c494d0f6f2645baa4fd356ef2250dbc3202f883a.tar.gz
cuberite-c494d0f6f2645baa4fd356ef2250dbc3202f883a.tar.bz2
cuberite-c494d0f6f2645baa4fd356ef2250dbc3202f883a.tar.lz
cuberite-c494d0f6f2645baa4fd356ef2250dbc3202f883a.tar.xz
cuberite-c494d0f6f2645baa4fd356ef2250dbc3202f883a.tar.zst
cuberite-c494d0f6f2645baa4fd356ef2250dbc3202f883a.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator.h')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.h b/src/Simulator/IncrementalRedstoneSimulator.h
index aea668996..e6bc28621 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.h
+++ b/src/Simulator/IncrementalRedstoneSimulator.h
@@ -78,7 +78,8 @@ private:
SimulatedPlayerToggleableList * m_SimulatedPlayerToggleableBlocks;
RepeatersDelayList * m_RepeatersDelayList;
- virtual void AddBlock(int a_BlockX, int a_BlockY, int a_BlockZ, cChunk * a_Chunk) override;
+ 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);
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