From 61f6f07edd837728d72e83daa0a4b8893ec77307 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 25 Jun 2005 06:15:43 +0000 Subject: (svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY --- misc_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc_gui.c') 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); } } -- cgit v1.2.3-70-g09d2