summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WorldStorage.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-04-08 19:55:50 +0200
committerMattes D <github@xoft.cz>2014-04-08 19:55:50 +0200
commite08a31daf52db94c167f144b588cc8d738158160 (patch)
treed1763af1bc48f7e7d4291037e522194f4a2a15d3 /src/WorldStorage/WorldStorage.cpp
parentcRedstoneSimulator.cpp style improvements (diff)
parentRemoved check for enqueuing a chunk that is already enqueued to be loaded (diff)
downloadcuberite-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.cpp2
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();
}