misc_gui.c
changeset 568 b0d0df062880
parent 543 946badd71033
child 596 a787fc8fba4a
--- a/misc_gui.c	Wed Dec 08 15:26:57 2004 +0000
+++ b/misc_gui.c	Wed Dec 08 15:46:13 2004 +0000
@@ -640,12 +640,12 @@
 	DrawStringMultiLine(str_x, str_y, STR_SPEC_USERSTRING, 144);
 }
 
-void DrawStationCoverageAreaText(int sx, int sy, uint mask) {
+void DrawStationCoverageAreaText(int sx, int sy, uint mask, int rad) {
 	int x = _thd.pos.x;
 	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);
+		GetAcceptanceAroundTiles(accepts, TILE_FROM_XY(x,y), _thd.new_size.x >> 4, _thd.new_size.y >> 4, rad);
 		DrawStationCoverageText(accepts, sx, sy, mask);
 	}
 }