diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-01 22:24:36 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-09 13:48:52 +0100 |
commit | c05a1db88d2a81b5aa93881c9791bcaadaad6304 (patch) | |
tree | d73dffe098cee08330fc73b1a66cc8e640f39ad8 /src/ClientHandle.h | |
parent | Fix Linux compile (diff) | |
download | cuberite-c05a1db88d2a81b5aa93881c9791bcaadaad6304.tar cuberite-c05a1db88d2a81b5aa93881c9791bcaadaad6304.tar.gz cuberite-c05a1db88d2a81b5aa93881c9791bcaadaad6304.tar.bz2 cuberite-c05a1db88d2a81b5aa93881c9791bcaadaad6304.tar.lz cuberite-c05a1db88d2a81b5aa93881c9791bcaadaad6304.tar.xz cuberite-c05a1db88d2a81b5aa93881c9791bcaadaad6304.tar.zst cuberite-c05a1db88d2a81b5aa93881c9791bcaadaad6304.zip |
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r-- | src/ClientHandle.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 194533402..2382e81cf 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -46,7 +46,6 @@ class cClientHandle : // tolua_export public cSocketThreads::cCallback { // tolua_export public: - static const int MAXBLOCKCHANGEINTERACTIONS = 20; // 5 didn't help, 10 still doesn't work in Creative, 20 seems to have done the trick #if defined(ANDROID_NDK) static const int DEFAULT_VIEW_DISTANCE = 4; // The default ViewDistance (used when no value is set in Settings.ini) @@ -319,6 +318,9 @@ private: /** Number of explosions sent this tick */ int m_NumExplosionsThisTick; + + /** Number of place or break interactions this tick */ + int m_NumBlockChangeInteractionsThisTick; static int s_ClientCount; int m_UniqueID; |