summaryrefslogtreecommitdiff
path: root/unmovable_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'unmovable_cmd.c')
-rw-r--r--unmovable_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unmovable_cmd.c b/unmovable_cmd.c
index 78c958462..6d3c98737 100644
--- a/unmovable_cmd.c
+++ b/unmovable_cmd.c
@@ -389,7 +389,7 @@ restart:
do {
if (--j == 0) goto restart;
tile = TILE_MASK(tile + TileOffsByDir(dir));
- } while (!(IsTileType(tile, MP_CLEAR) && GetTileSlope(tile, &h) == 0 && h <= 16));
+ } while (!(IsTileType(tile, MP_CLEAR) && GetTileSlope(tile, &h) == 0 && h <= TILE_HEIGHT * 2));
assert(tile == TILE_MASK(tile));