summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-06-10 16:16:05 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-06-10 16:16:05 +0200
commitdd4b4150511f71c3d5a1433323d36268859f2c47 (patch)
treed98d6473566d0f0132a7afd72631abb69f68b942 /src/ClientHandle.h
parentMerge pull request #2162 from lkolbly/master (diff)
downloadcuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar
cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar.gz
cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar.bz2
cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar.lz
cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar.xz
cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.tar.zst
cuberite-dd4b4150511f71c3d5a1433323d36268859f2c47.zip
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 13b5f87e4..27acc4d37 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -377,10 +377,10 @@ private:
AString m_Password;
Json::Value m_Properties;
- cCriticalSection m_CSChunkLists;
- cChunkCoordsList m_LoadedChunks; // Chunks that the player belongs to
- cChunkCoordsList m_ChunksToSend; // Chunks that need to be sent to the player (queued because they weren't generated yet or there's not enough time to send them)
- cChunkCoordsList m_SentChunks; // Chunks that are currently sent to the client
+ cCriticalSection m_CSChunkLists;
+ cChunkCoordsList m_LoadedChunks; // Chunks that the player belongs to
+ std::unordered_set<cChunkCoords, cChunkCoordsHash> m_ChunksToSend; // Chunks that need to be sent to the player (queued because they weren't generated yet or there's not enough time to send them)
+ cChunkCoordsList m_SentChunks; // Chunks that are currently sent to the client
cProtocol * m_Protocol;