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/Generating/ChunkGenerator.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 'src/Generating/ChunkGenerator.cpp')
-rw-r--r-- | src/Generating/ChunkGenerator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Generating/ChunkGenerator.cpp b/src/Generating/ChunkGenerator.cpp index d8dbb4a3a..d615456c1 100644 --- a/src/Generating/ChunkGenerator.cpp +++ b/src/Generating/ChunkGenerator.cpp @@ -112,6 +112,8 @@ void cChunkGenerator::Stop(void) void cChunkGenerator::QueueGenerateChunk(int a_ChunkX, int a_ChunkZ, bool a_ForceGenerate) { + ASSERT(m_ChunkSink->IsChunkQueued(a_ChunkX, a_ChunkZ)); + { cCSLock Lock(m_CS); |