diff options
author | tron <tron@openttd.org> | 2005-06-25 06:15:43 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-25 06:15:43 +0000 |
commit | 61f6f07edd837728d72e83daa0a4b8893ec77307 (patch) | |
tree | 3374c2cd95704c5e34c2a7c62b0ba647c4002e7f /pathfind.c | |
parent | cea090af09fbee47ef4eea01190ba8eb8e17aef8 (diff) | |
download | openttd-61f6f07edd837728d72e83daa0a4b8893ec77307.tar.xz |
(svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Diffstat (limited to 'pathfind.c')
-rw-r--r-- | pathfind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathfind.c b/pathfind.c index 83afa7a9c..9134b3030 100644 --- a/pathfind.c +++ b/pathfind.c @@ -230,7 +230,7 @@ FindLengthOfTunnelResult FindLengthOfTunnel(TileIndex tile, int direction) x += _get_tunlen_inc[direction]; y += _get_tunlen_inc[direction+1]; - tile = TILE_FROM_XY(x,y); + tile = TileVirtXY(x, y); if (IsTileType(tile, MP_TUNNELBRIDGE) && (_map5[tile] & 0xF0) == 0 && // tunnel entrance/exit |