mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Fixed > 4 to >= 4 in min height check for shore generation (#17280)
This commit is contained in:
@@ -486,7 +486,7 @@ static void mapgen_set_height(mapgen_settings* settings)
|
||||
surfaceElement->base_height = std::max(2, baseHeight * 2);
|
||||
|
||||
// If base height is below water level, lower it to create more natural shorelines
|
||||
if (surfaceElement->base_height > 4 && surfaceElement->base_height <= settings->water_level)
|
||||
if (surfaceElement->base_height >= 4 && surfaceElement->base_height <= settings->water_level)
|
||||
surfaceElement->base_height -= 2;
|
||||
|
||||
surfaceElement->clearance_height = surfaceElement->base_height;
|
||||
|
||||
Reference in New Issue
Block a user