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
1 changed files with 1 additions and 1 deletions

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