diff options
author | Mattes D <github@xoft.cz> | 2014-04-08 19:55:50 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-04-08 19:55:50 +0200 |
commit | e08a31daf52db94c167f144b588cc8d738158160 (patch) | |
tree | d1763af1bc48f7e7d4291037e522194f4a2a15d3 | |
parent | cRedstoneSimulator.cpp style improvements (diff) | |
parent | Removed check for enqueuing a chunk that is already enqueued to be loaded (diff) | |
download | cuberite-e08a31daf52db94c167f144b588cc8d738158160.tar cuberite-e08a31daf52db94c167f144b588cc8d738158160.tar.gz cuberite-e08a31daf52db94c167f144b588cc8d738158160.tar.bz2 cuberite-e08a31daf52db94c167f144b588cc8d738158160.tar.lz cuberite-e08a31daf52db94c167f144b588cc8d738158160.tar.xz cuberite-e08a31daf52db94c167f144b588cc8d738158160.tar.zst cuberite-e08a31daf52db94c167f144b588cc8d738158160.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/WorldStorage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WorldStorage.cpp b/src/WorldStorage/WorldStorage.cpp index 711c8612f..54eaaca5c 100644 --- a/src/WorldStorage/WorldStorage.cpp +++ b/src/WorldStorage/WorldStorage.cpp @@ -150,7 +150,7 @@ size_t cWorldStorage::GetSaveQueueLength(void) void cWorldStorage::QueueLoadChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, bool a_Generate) { - m_LoadQueue.EnqueueItemIfNotPresent(sChunkLoad(a_ChunkX, a_ChunkY, a_ChunkZ, a_Generate)); + m_LoadQueue.EnqueueItem(sChunkLoad(a_ChunkX, a_ChunkY, a_ChunkZ, a_Generate)); m_Event.Set(); } |