summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorLO1ZB <andreasdaamen@web.de>2014-08-29 20:26:19 +0200
committerLO1ZB <andreasdaamen@web.de>2014-08-29 20:26:19 +0200
commite45a27add934dcdad8eadcea16ce647fb87fbf9d (patch)
tree4b1d1482fa1119876af6a2bc6dda36a7ee702d0e /src/World.cpp
parentfix chunk regenerating (diff)
downloadcuberite-e45a27add934dcdad8eadcea16ce647fb87fbf9d.tar
cuberite-e45a27add934dcdad8eadcea16ce647fb87fbf9d.tar.gz
cuberite-e45a27add934dcdad8eadcea16ce647fb87fbf9d.tar.bz2
cuberite-e45a27add934dcdad8eadcea16ce647fb87fbf9d.tar.lz
cuberite-e45a27add934dcdad8eadcea16ce647fb87fbf9d.tar.xz
cuberite-e45a27add934dcdad8eadcea16ce647fb87fbf9d.tar.zst
cuberite-e45a27add934dcdad8eadcea16ce647fb87fbf9d.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index aba5bd859..7c6a1af2f 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -2909,10 +2909,11 @@ void cWorld::RegenerateChunk(int a_ChunkX, int a_ChunkZ)
void cWorld::GenerateChunk(int a_ChunkX, int a_ChunkZ)
{
+ /** Add a chunk to the generation queue, if it's not already present. */
if (!(m_ChunkMap->IsChunkValid(a_ChunkX, a_ChunkZ)))
{
LOGD("Chunk [%d, %d] already generated, skipping generation", a_ChunkX, a_ChunkZ);
- // Already generated, ignore reques
+ /** Already generated, ignore reques */
}
else
{