From 5d52f4fd316dcc0d8329db892800b356181a7da2 Mon Sep 17 00:00:00 2001 From: Ken Reese Date: Tue, 24 May 2022 23:48:10 -0600 Subject: [PATCH] Fixed > 4 to >= 4 in min height check for shore generation (#17280) --- src/openrct2/world/MapGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/world/MapGen.cpp b/src/openrct2/world/MapGen.cpp index 10e8b2e15b..d99ffbc12c 100644 --- a/src/openrct2/world/MapGen.cpp +++ b/src/openrct2/world/MapGen.cpp @@ -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;