summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-05 23:26:00 +0200
committerMattes D <github@xoft.cz>2014-09-05 23:26:00 +0200
commit103fa8812d6bb0fcd996d1d75817d657a0a2691c (patch)
treefe9d19cbdc2409520a86ee25743253fa6b392d1d /src/ChunkMap.cpp
parentFixed loading empty chunks. (diff)
downloadcuberite-103fa8812d6bb0fcd996d1d75817d657a0a2691c.tar
cuberite-103fa8812d6bb0fcd996d1d75817d657a0a2691c.tar.gz
cuberite-103fa8812d6bb0fcd996d1d75817d657a0a2691c.tar.bz2
cuberite-103fa8812d6bb0fcd996d1d75817d657a0a2691c.tar.lz
cuberite-103fa8812d6bb0fcd996d1d75817d657a0a2691c.tar.xz
cuberite-103fa8812d6bb0fcd996d1d75817d657a0a2691c.tar.zst
cuberite-103fa8812d6bb0fcd996d1d75817d657a0a2691c.zip
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r--src/ChunkMap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index 50066e539..9c105c5af 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -163,7 +163,7 @@ cChunkPtr cChunkMap::GetChunk(int a_ChunkX, int a_ChunkZ)
{
Chunk->SetPresence(cChunk::cpQueued);
Chunk->SetShouldGenerateIfLoadFailed(true);
- m_World->GetStorage().QueueLoadChunk(a_ChunkX, a_ChunkZ, true);
+ m_World->GetStorage().QueueLoadChunk(a_ChunkX, a_ChunkZ);
}
return Chunk;
}
@@ -191,7 +191,7 @@ cChunkPtr cChunkMap::GetChunkNoGen(int a_ChunkX, int a_ChunkZ)
if (!Chunk->IsValid() && !Chunk->IsQueued())
{
Chunk->SetPresence(cChunk::cpQueued);
- m_World->GetStorage().QueueLoadChunk(a_ChunkX, a_ChunkZ, false);
+ m_World->GetStorage().QueueLoadChunk(a_ChunkX, a_ChunkZ);
}
return Chunk;