1
0
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:
Ken Reese
2022-05-24 23:48:10 -06:00
committed by GitHub
parent e90ebb38ce
commit 5d52f4fd31

View File

@@ -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;