summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-03 05:32:11 +0000
committercelestar <celestar@openttd.org>2006-04-03 05:32:11 +0000
commit3aa1e38be6e0a3c01346fe4db1bb92b148d0f2a9 (patch)
tree7d8babf7cbe0b9ecf1ebc12e27848ef54f79d0e3 /misc_gui.c
parenta6403bd50a163434cb4a8a9354ac14ef6b0b90c6 (diff)
downloadopenttd-3aa1e38be6e0a3c01346fe4db1bb92b148d0f2a9.tar.xz
(svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 68245528c..f504cb457 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -711,7 +711,7 @@ void DrawStationCoverageAreaText(int sx, int sy, uint mask, int rad) {
TileIndex tile = TileVirtXY(_thd.pos.x, _thd.pos.y);
AcceptedCargo accepts;
if (tile < MapSize()) {
- GetAcceptanceAroundTiles(accepts, tile, _thd.size.x / 16, _thd.size.y / 16 , rad);
+ GetAcceptanceAroundTiles(accepts, tile, _thd.size.x / TILE_SIZE, _thd.size.y / TILE_SIZE , rad);
DrawStationCoverageText(accepts, sx, sy, mask);
}
}