diff options
-rw-r--r-- | src/mapgen_v7.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapgen_v7.cpp b/src/mapgen_v7.cpp index ad242ae49..e3922c53a 100644 --- a/src/mapgen_v7.cpp +++ b/src/mapgen_v7.cpp @@ -519,7 +519,8 @@ int MapgenV7::generateTerrain() void MapgenV7::generateRidgeTerrain() { - if ((node_max.Y < water_level - 16) || (node_max.Y > shadow_limit)) + if (node_max.Y < water_level - 16 || + ((spflags & MGV7_FLOATLANDS) && node_max.Y > shadow_limit)) return; noise_ridge->perlinMap3D(node_min.X, node_min.Y - 1, node_min.Z); |