diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-18 20:22:45 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-18 20:23:10 +0200 |
commit | 9c6b5a3ec9f50375d9cc79edb8167380a5c2d78d (patch) | |
tree | 099646e071608ec00b830982d360e38203ad2abf | |
parent | Use cMultiVersionProtocol's buffer (diff) | |
download | cuberite-9c6b5a3ec9f50375d9cc79edb8167380a5c2d78d.tar cuberite-9c6b5a3ec9f50375d9cc79edb8167380a5c2d78d.tar.gz cuberite-9c6b5a3ec9f50375d9cc79edb8167380a5c2d78d.tar.bz2 cuberite-9c6b5a3ec9f50375d9cc79edb8167380a5c2d78d.tar.lz cuberite-9c6b5a3ec9f50375d9cc79edb8167380a5c2d78d.tar.xz cuberite-9c6b5a3ec9f50375d9cc79edb8167380a5c2d78d.tar.zst cuberite-9c6b5a3ec9f50375d9cc79edb8167380a5c2d78d.zip |
-rw-r--r-- | src/ClientHandle.cpp | 1 | ||||
-rw-r--r-- | src/ClientHandle.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 4aa3dd9d7..2a2c719b6 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -91,7 +91,6 @@ cClientHandle::cClientHandle(const AString & a_IPString, int a_ViewDistance) : m_LastDigBlockY(cChunkDef::Height + 1), // 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), diff --git a/src/ClientHandle.h b/src/ClientHandle.h index dd5d54097..5c3d61c1f 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -523,9 +523,6 @@ private: it may just read m_State without locking m_CSState. */ std::atomic<eState> m_State; - /** If set to true during csDownloadingWorld, the tick thread calls CheckIfWorldDownloaded() */ - bool m_ShouldCheckDownloaded; - /** Number of explosions sent this tick */ int m_NumExplosionsThisTick; |