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 | bec5e4fb4cc475596e1f22db9232e2bd9a190d89 (patch) | |
tree | ed8629cbd76a9334fd657971f55ef5cb63c9915f /tile.c | |
parent | 61f6f07edd837728d72e83daa0a4b8893ec77307 (diff) | |
download | openttd-bec5e4fb4cc475596e1f22db9232e2bd9a190d89.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; |