summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-10 22:36:11 +0000
committerdarkvater <darkvater@openttd.org>2005-01-10 22:36:11 +0000
commitae726617427da0771639acdb31712ea23455c70a (patch)
tree1d4d89c3d43be81a2288dffb547d54fe418d0ee2 /misc_gui.c
parent05a3a83b6ce2d8d993900b1741ec26c61fa7a5e8 (diff)
downloadopenttd-ae726617427da0771639acdb31712ea23455c70a.tar.xz
(svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar)
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 ff0197c59..28bb9ad16 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -712,7 +712,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.new_size.x >> 4, _thd.new_size.y >> 4, rad);
+ GetAcceptanceAroundTiles(accepts, TILE_FROM_XY(x, y), _thd.size.x /16, _thd.size.y /16 , rad);
DrawStationCoverageText(accepts, sx, sy, mask);
}
}