diff options
author | Mattes D <github@xoft.cz> | 2014-08-21 22:39:53 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-21 22:39:53 +0200 |
commit | 64fec204c4c5062461a7188b58026d062519b417 (patch) | |
tree | 9ffc538cdb5bd581362542a3fa131efb96b4d9db /src/ClientHandle.cpp | |
parent | cSetChunkData: Added missing initializers. (diff) | |
download | cuberite-64fec204c4c5062461a7188b58026d062519b417.tar cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.gz cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.bz2 cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.lz cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.xz cuberite-64fec204c4c5062461a7188b58026d062519b417.tar.zst cuberite-64fec204c4c5062461a7188b58026d062519b417.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index e2b438831..ee4fdfa7d 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -75,11 +75,21 @@ cClientHandle::cClientHandle(const cSocket * a_Socket, int a_ViewDistance) : m_TimeSinceLastPacket(0), m_Ping(1000), m_PingID(1), + m_PingStartTime(0), + m_LastPingTime(1000), m_BlockDigAnimStage(-1), + m_BlockDigAnimSpeed(0), + m_BlockDigAnimX(0), + m_BlockDigAnimY(256), // Invalid Y, so that the coords don't get picked up + m_BlockDigAnimZ(0), m_HasStartedDigging(false), + m_LastDigBlockX(0), + m_LastDigBlockY(256), // Invalid Y, so that the coords don't get picked up + m_LastDigBlockZ(0), m_State(csConnected), m_ShouldCheckDownloaded(false), m_NumExplosionsThisTick(0), + m_NumBlockChangeInteractionsThisTick(0), m_UniqueID(0), m_HasSentPlayerChunk(false), m_Locale("en_GB") |