forked from rosebudai/OpenRCT2-Web
Fixed > 4 to >= 4 in min height check for shore generation (#17280)
This commit is contained in:
1 parent
e90ebb38ce
commit
5d52f4fd31
1 file changed
+1
-1
@@ -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