diff options
author | glx <glx@openttd.org> | 2008-02-15 23:57:03 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-02-15 23:57:03 +0000 |
commit | 3e70ee6ed7ea7bfb7b08ee70206a30651aec956b (patch) | |
tree | 846aa4f1b2b7c56288258e3f5e20efa172fe99a1 /src/airport_gui.cpp | |
parent | a5f99154b755c85dabe8e2a8cc352b7d1a0fbb6c (diff) | |
download | openttd-3e70ee6ed7ea7bfb7b08ee70206a30651aec956b.tar.xz |
(svn r12154) -Codechange: removed a magic number
Diffstat (limited to 'src/airport_gui.cpp')
-rw-r--r-- | src/airport_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp index 86f288610..e0b5bb7db 100644 --- a/src/airport_gui.cpp +++ b/src/airport_gui.cpp @@ -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); |