summaryrefslogtreecommitdiffstats
path: root/source/Simulator/Simulator.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Simulator/Simulator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Simulator/Simulator.h b/source/Simulator/Simulator.h
index 63cc0b17f..e1d88f1c5 100644
--- a/source/Simulator/Simulator.h
+++ b/source/Simulator/Simulator.h
@@ -33,6 +33,8 @@ public:
virtual bool IsAllowedBlock(BLOCKTYPE a_BlockType) = 0;
protected:
+ friend class cChunk; // Calls AddBlock() in its WakeUpSimulators() function, to speed things up
+
/// Called to simulate a new block
virtual void AddBlock(int a_BlockX, int a_BlockY, int a_BlockZ, cChunk * a_Chunk) = 0;