diff options
author | celestar <celestar@openttd.org> | 2006-04-03 09:07:21 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-04-03 09:07:21 +0000 |
commit | 69e1c716e86a855b4379504bbb94a5483a63f43e (patch) | |
tree | e106242c0ac31fc61254791e0f6fcfe95db2baad /unmovable_cmd.c | |
parent | 6443c14ebd7ed0f9920673c218eaaa1172076a5f (diff) | |
download | openttd-69e1c716e86a855b4379504bbb94a5483a63f43e.tar.xz |
(svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty
Diffstat (limited to 'unmovable_cmd.c')
-rw-r--r-- | unmovable_cmd.c | 2 |
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)); |