mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
This commit is contained in:
committed by
Ted John
parent
1cdbd1e459
commit
1d14f21e25
@@ -1649,7 +1649,8 @@ static money32 map_set_land_height(int flags, int x, int y, int height, int styl
|
||||
return MONEY32_UNDEFINED;
|
||||
}
|
||||
|
||||
if (height > 62) {
|
||||
// Divide by 2 and subtract 7 to get the ingame units.
|
||||
if (height > 142) {
|
||||
gGameCommandErrorText = STR_TOO_HIGH;
|
||||
return MONEY32_UNDEFINED;
|
||||
} else if (height == 62 && (style & 0x1F) != 0) {
|
||||
@@ -1657,7 +1658,7 @@ static money32 map_set_land_height(int flags, int x, int y, int height, int styl
|
||||
return MONEY32_UNDEFINED;
|
||||
}
|
||||
|
||||
if (height == 60 && (style & 0x10)) {
|
||||
if (height == 140 && (style & 0x10)) {
|
||||
gGameCommandErrorText = STR_TOO_HIGH;
|
||||
return MONEY32_UNDEFINED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user