aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen_v5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen/mapgen_v5.cpp')
-rw-r--r--src/mapgen/mapgen_v5.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mapgen/mapgen_v5.cpp b/src/mapgen/mapgen_v5.cpp
index 73fc42295..c003c27d6 100644
--- a/src/mapgen/mapgen_v5.cpp
+++ b/src/mapgen/mapgen_v5.cpp
@@ -252,8 +252,7 @@ void MapgenV5::makeChunk(BlockMakeData *data)
m_emerge->oremgr->placeAllOres(this, blockseed, node_min, node_max);
// Generate dungeons and desert temples
- if ((flags & MG_DUNGEONS) && full_node_min.Y >= dungeon_ymin &&
- full_node_max.Y <= dungeon_ymax)
+ if (flags & MG_DUNGEONS)
generateDungeons(stone_surface_max_y);
// Generate the registered decorations