summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
{