summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.inc
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-09-28 16:36:00 +0200
committerTycho <work.tycho+git@gmail.com>2014-09-28 16:36:00 +0200
commitf6979642e68dbbcb144ea376cc42a17dab8f3b37 (patch)
tree1280e7a45922ec26589bfd7876b695c7c5831021 /src/Simulator/IncrementalRedstoneSimulator.inc
parentMerge pull request #1463 from mc-server/sp_docs (diff)
downloadcuberite-f6979642e68dbbcb144ea376cc42a17dab8f3b37.tar
cuberite-f6979642e68dbbcb144ea376cc42a17dab8f3b37.tar.gz
cuberite-f6979642e68dbbcb144ea376cc42a17dab8f3b37.tar.bz2
cuberite-f6979642e68dbbcb144ea376cc42a17dab8f3b37.tar.lz
cuberite-f6979642e68dbbcb144ea376cc42a17dab8f3b37.tar.xz
cuberite-f6979642e68dbbcb144ea376cc42a17dab8f3b37.tar.zst
cuberite-f6979642e68dbbcb144ea376cc42a17dab8f3b37.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;