diff options
Diffstat (limited to 'src/mapgen_v7.cpp')
-rw-r--r-- | src/mapgen_v7.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapgen_v7.cpp b/src/mapgen_v7.cpp index 420d77185..dbf2b02ae 100644 --- a/src/mapgen_v7.cpp +++ b/src/mapgen_v7.cpp @@ -292,12 +292,12 @@ void MapgenV7::makeChunk(BlockMakeData *data) // Generate caverns, tunnels and classic caves if (flags & MG_CAVES) { - bool has_cavern = false; + bool near_cavern = false; // Generate caverns if (spflags & MGV7_CAVERNS) - has_cavern = generateCaverns(stone_surface_max_y); + near_cavern = generateCaverns(stone_surface_max_y); // Generate tunnels and classic caves - if (has_cavern) + if (near_cavern) // Disable classic caves in this mapchunk by setting // 'large cave depth' to world base. Avoids excessive liquid in // large caverns and floating blobs of overgenerated liquid. |