summaryrefslogtreecommitdiffstats
path: root/src/Simulator/NoopRedstoneSimulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Simulator/NoopRedstoneSimulator.h')
-rw-r--r--src/Simulator/NoopRedstoneSimulator.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Simulator/NoopRedstoneSimulator.h b/src/Simulator/NoopRedstoneSimulator.h
index f9ed47982..7c961f32b 100644
--- a/src/Simulator/NoopRedstoneSimulator.h
+++ b/src/Simulator/NoopRedstoneSimulator.h
@@ -8,9 +8,9 @@
class cRedstoneNoopSimulator :
- public cRedstoneSimulator
+ public cRedstoneSimulator<cChunk, cWorld>
{
- typedef cRedstoneSimulator super;
+ typedef cRedstoneSimulator<cChunk, cWorld> super;
public:
cRedstoneNoopSimulator(cWorld & a_World) :
@@ -36,5 +36,10 @@ public:
UNUSED(a_BlockZ);
UNUSED(a_Chunk);
}
+
+ virtual cRedstoneSimulatorChunkData * CreateChunkData() override
+ {
+ return NULL;
+ }
} ;