From a1489850876a28c273e1e633515c11062c832df2 Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 15 Feb 2008 23:57:03 +0000 Subject: (svn r12154) -Codechange: removed a magic number --- src/station_cmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/station_cmd.cpp') diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 47c41087d..77e3ad8f3 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -599,7 +599,7 @@ static void UpdateStationAcceptance(Station *st, bool show_msg) TileXY(rect.min_x, rect.min_y), rect.max_x - rect.min_x + 1, rect.max_y - rect.min_y + 1, - _patches.modified_catchment ? FindCatchmentRadius(st) : 4 + _patches.modified_catchment ? FindCatchmentRadius(st) : CA_UNMODIFIED ); } else { memset(accepts, 0, sizeof(accepts)); @@ -2712,7 +2712,7 @@ StationSet FindStationsAroundIndustryTile(TileIndex tile, int w, int h) h_prod = 0; w += 8; h += 8; - max_rad = 4; + max_rad = CA_UNMODIFIED; } BEGIN_TILE_LOOP(cur_tile, w, h, tile - TileDiffXY(max_rad, max_rad)) -- cgit v1.2.3-54-g00ecf