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/rail_gui.cpp | |
parent | a5f99154b755c85dabe8e2a8cc352b7d1a0fbb6c (diff) | |
download | openttd-3e70ee6ed7ea7bfb7b08ee70206a30651aec956b.tar.xz |
(svn r12154) -Codechange: removed a magic number
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index d741fe2fb..8bfc5717c 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -818,7 +818,7 @@ static void StationBuildWndProc(Window *w, WindowEvent *e) SetTileSelectSize(x, y); } - int rad = (_patches.modified_catchment) ? CA_TRAIN : 4; + int rad = (_patches.modified_catchment) ? CA_TRAIN : CA_UNMODIFIED; if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad); |