From 55326ee2a72aea190ba9ccc7b04969742fc7ce5f Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 3 Mar 2013 15:33:55 +0000 Subject: Simulators are woken up upon chunk load git-svn-id: http://mc-server.googlecode.com/svn/trunk@1248 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Simulator/Simulator.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/Simulator/Simulator.h') 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; -- cgit v1.2.3