summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.inc
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-28 22:05:05 +0200
committerMattes D <github@xoft.cz>2014-09-28 22:05:05 +0200
commit1422176d13d5eb22b44dcc81cd64a1dec6caede3 (patch)
tree61ea527ffe43611dc4fa9ce7d9dfffff99f825c8 /src/Simulator/IncrementalRedstoneSimulator.inc
parentMerge pull request #1466 from mc-server/endofsupport (diff)
parentUpdate Chunk.cpp (diff)
downloadcuberite-1422176d13d5eb22b44dcc81cd64a1dec6caede3.tar
cuberite-1422176d13d5eb22b44dcc81cd64a1dec6caede3.tar.gz
cuberite-1422176d13d5eb22b44dcc81cd64a1dec6caede3.tar.bz2
cuberite-1422176d13d5eb22b44dcc81cd64a1dec6caede3.tar.lz
cuberite-1422176d13d5eb22b44dcc81cd64a1dec6caede3.tar.xz
cuberite-1422176d13d5eb22b44dcc81cd64a1dec6caede3.tar.zst
cuberite-1422176d13d5eb22b44dcc81cd64a1dec6caede3.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator.inc')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.inc b/src/Simulator/IncrementalRedstoneSimulator.inc
index 937e6b790..200fc0971 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.inc
+++ b/src/Simulator/IncrementalRedstoneSimulator.inc
@@ -27,6 +27,11 @@ public:
{
}
~cIncrementalRedstoneSimulator();
+
+ virtual cRedstoneSimulatorChunkData * CreateChunkData() override
+ {
+ return new cIncrementalRedstoneSimulatorChunkData;
+ }
virtual void Simulate(float a_Dt) override { UNUSED(a_Dt);} // not used
virtual void SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, ChunkType * a_Chunk) override;