diff options
Diffstat (limited to '')
-rw-r--r-- | source/cClientHandle.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cClientHandle.h b/source/cClientHandle.h index 5025f03d2..048e46389 100644 --- a/source/cClientHandle.h +++ b/source/cClientHandle.h @@ -20,7 +20,8 @@ public: cClientHandle(const cSocket & a_Socket);
~cClientHandle();
- static const int VIEWDISTANCE = 13;
+ static const int VIEWDISTANCE = 13; // MUST be odd number or CRASH!
+ static const int GENERATEDISTANCE = 2; // Server generates this many chunks AHEAD of player sight.
const cSocket & GetSocket();
cPlayer* GetPlayer() { return m_Player; } // tolua_export
|