diff options
author | Mattes D <github@xoft.cz> | 2014-09-05 23:26:00 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-05 23:26:00 +0200 |
commit | 103fa8812d6bb0fcd996d1d75817d657a0a2691c (patch) | |
tree | fe9d19cbdc2409520a86ee25743253fa6b392d1d /src/ChunkMap.cpp | |
parent | Fixed loading empty chunks. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/ChunkMap.cpp | 4 |
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; |