diff options
author | tron <tron@openttd.org> | 2005-06-25 16:44:57 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-25 16:44:57 +0000 |
commit | 9617614b04b7e2981ebff5074b55778381ca8b20 (patch) | |
tree | ed8629cbd76a9334fd657971f55ef5cb63c9915f /tile.c | |
parent | 2b73dec56791a1aa3b2e3c333ae2d4673a7cfbfc (diff) | |
download | openttd-9617614b04b7e2981ebff5074b55778381ca8b20.tar.xz |
(svn r2487) Replace TILE_XY by TileXY/TileDiffXY
Diffstat (limited to 'tile.c')
-rw-r--r-- | tile.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -31,11 +31,11 @@ uint GetTileSlope(TileIndex tile, uint *h) } min = a = TileHeight(tile); - b = TileHeight(tile + TILE_XY(1,0)); + b = TileHeight(tile + TileDiffXY(1, 0)); if (min >= b) min = b; - c = TileHeight(tile + TILE_XY(0,1)); + c = TileHeight(tile + TileDiffXY(0, 1)); if (min >= c) min = c; - d = TileHeight(tile + TILE_XY(1,1)); + d = TileHeight(tile + TileDiffXY(1, 1)); if (min >= d) min = d; r = 0; |