From 9eab82a7d9fbd350fbc6ff177383d02f3bb39555 Mon Sep 17 00:00:00 2001 From: Hugo Wallenburg Date: Thu, 2 Jun 2016 19:34:37 +0200 Subject: [PATCH] Update height check for slopes to match new limits. Fixes #3792. (#3799) --- src/world/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/map.c b/src/world/map.c index 1333751b72..72652fbd30 100644 --- a/src/world/map.c +++ b/src/world/map.c @@ -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; }