1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Update height check for slopes to match new limits. Fixes #3792. (#3799)

This commit is contained in:
Hugo Wallenburg
2016-06-02 19:34:37 +02:00
committed by Michael Steenbeek
parent a984bd1396
commit 9eab82a7d9

View File

@@ -1653,7 +1653,7 @@ static money32 map_set_land_height(int flags, int x, int y, int height, int styl
if (height > 142) {
gGameCommandErrorText = STR_TOO_HIGH;
return MONEY32_UNDEFINED;
} else if (height == 62 && (style & 0x1F) != 0) {
} else if (height > 140 && (style & 0x1F) != 0) {
gGameCommandErrorText = STR_TOO_HIGH;
return MONEY32_UNDEFINED;
}