summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-10-05 18:08:45 +0200
committerMattes D <github@xoft.cz>2015-10-05 18:08:45 +0200
commitbe27992a07d2f846881e8e72ea5c1cf9c4a46be8 (patch)
tree9399904ac2fa3df4b13162a39753d43e8a11bf63 /src/ClientHandle.h
parentMerge pull request #2522 from cuberite/FixLoaderGenRaceCondition (diff)
parentImproved the data structure for storing loaded chunks (diff)
downloadcuberite-be27992a07d2f846881e8e72ea5c1cf9c4a46be8.tar
cuberite-be27992a07d2f846881e8e72ea5c1cf9c4a46be8.tar.gz
cuberite-be27992a07d2f846881e8e72ea5c1cf9c4a46be8.tar.bz2
cuberite-be27992a07d2f846881e8e72ea5c1cf9c4a46be8.tar.lz
cuberite-be27992a07d2f846881e8e72ea5c1cf9c4a46be8.tar.xz
cuberite-be27992a07d2f846881e8e72ea5c1cf9c4a46be8.tar.zst
cuberite-be27992a07d2f846881e8e72ea5c1cf9c4a46be8.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index b305648cb..32e894d41 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -383,7 +383,7 @@ private:
Json::Value m_Properties;
cCriticalSection m_CSChunkLists;
- cChunkCoordsList m_LoadedChunks; // Chunks that the player belongs to
+ std::unordered_set<cChunkCoords, cChunkCoordsHash> 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