From 2928cb6853f1e007e98f174c37d75c793a0c09cc Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 16 Feb 2012 17:45:26 +0000 Subject: cWorldGenerator speedup - doesn't call GetChunk() anymore, not queueing the chunk it's generating to be loaded recursively. cChunk fix - setting a block to the same value doesn't mark chunk dirty (resulted in un-unloadable chunks) git-svn-id: http://mc-server.googlecode.com/svn/trunk@279 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunk.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/cChunk.h') diff --git a/source/cChunk.h b/source/cChunk.h index ebaa21e34..66efa0d1e 100644 --- a/source/cChunk.h +++ b/source/cChunk.h @@ -114,10 +114,10 @@ public: void SendBlockTo( int a_X, int a_Y, int a_Z, cClientHandle* a_Client ); - void AddClient ( cClientHandle* a_Client ); - void RemoveClient( cClientHandle* a_Client ); - bool HasClient ( cClientHandle* a_Client ); - bool HasAnyClient(void); // Returns true if theres any client in the chunk; false otherwise + void AddClient (cClientHandle* a_Client ); + void RemoveClient (cClientHandle* a_Client ); + bool HasClient (cClientHandle* a_Client ); + bool HasAnyClients(void); // Returns true if theres any client in the chunk; false otherwise void AddEntity( cEntity * a_Entity ); void RemoveEntity( cEntity * a_Entity); -- cgit v1.2.3