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 | 2b73dec56791a1aa3b2e3c333ae2d4673a7cfbfc (patch) | |
tree | 3374c2cd95704c5e34c2a7c62b0ba647c4002e7f /misc_gui.c | |
parent | 80760b4f69bc4f552ff22593d19365662e62caf3 (diff) | |
download | openttd-2b73dec56791a1aa3b2e3c333ae2d4673a7cfbfc.tar.xz |
(svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Diffstat (limited to 'misc_gui.c')
-rw-r--r-- | misc_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c index 624b122b5..11261de4a 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -701,7 +701,7 @@ void DrawStationCoverageAreaText(int sx, int sy, uint mask, int rad) { int y = _thd.pos.y; uint accepts[NUM_CARGO]; if (x != -1) { - GetAcceptanceAroundTiles(accepts, TILE_FROM_XY(x, y), _thd.size.x /16, _thd.size.y /16 , rad); + GetAcceptanceAroundTiles(accepts, TileVirtXY(x, y), _thd.size.x / 16, _thd.size.y / 16 , rad); DrawStationCoverageText(accepts, sx, sy, mask); } } |