summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-06-06 11:55:12 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-06-06 11:55:12 +0200
commitf36acb683594daff5af3971dcbe3c3a171628b78 (patch)
treea8d1d3d5c0eeff2e6fbae9ac9d2dc34699a660ca /src/ClientHandle.h
parentMerge pull request #2205 from birkett/master (diff)
parentFix iterating (diff)
downloadcuberite-f36acb683594daff5af3971dcbe3c3a171628b78.tar
cuberite-f36acb683594daff5af3971dcbe3c3a171628b78.tar.gz
cuberite-f36acb683594daff5af3971dcbe3c3a171628b78.tar.bz2
cuberite-f36acb683594daff5af3971dcbe3c3a171628b78.tar.lz
cuberite-f36acb683594daff5af3971dcbe3c3a171628b78.tar.xz
cuberite-f36acb683594daff5af3971dcbe3c3a171628b78.tar.zst
cuberite-f36acb683594daff5af3971dcbe3c3a171628b78.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;