(svn r12154) -Codechange: removed a magic number

This commit is contained in:
glx
2008-02-15 23:57:03 +00:00
parent 55b0146498
commit a148985087
7 changed files with 10 additions and 8 deletions

View File

@@ -179,7 +179,7 @@ static void BuildAirportPickerWndProc(Window *w, WindowEvent *e)
airport = GetAirport(_selected_airport_type);
SetTileSelectSize(airport->size_x, airport->size_y);
int rad = _patches.modified_catchment ? airport->catchment : 4;
int rad = _patches.modified_catchment ? airport->catchment : CA_UNMODIFIED;
if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad);