summaryrefslogtreecommitdiff
path: root/src/road_gui.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-02-15 23:57:03 +0000
committerglx <glx@openttd.org>2008-02-15 23:57:03 +0000
commit3e70ee6ed7ea7bfb7b08ee70206a30651aec956b (patch)
tree846aa4f1b2b7c56288258e3f5e20efa172fe99a1 /src/road_gui.cpp
parenta5f99154b755c85dabe8e2a8cc352b7d1a0fbb6c (diff)
downloadopenttd-3e70ee6ed7ea7bfb7b08ee70206a30651aec956b.tar.xz
(svn r12154) -Codechange: removed a magic number
Diffstat (limited to 'src/road_gui.cpp')
-rw-r--r--src/road_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index b7313b449..af1aff229 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -809,7 +809,7 @@ static void RoadStationPickerWndProc(Window *w, WindowEvent *e)
DrawWindowWidgets(w);
if (_station_show_coverage) {
- int rad = _patches.modified_catchment ? CA_TRUCK /* = CA_BUS */ : 4;
+ int rad = _patches.modified_catchment ? CA_TRUCK /* = CA_BUS */ : CA_UNMODIFIED;
SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad);
} else {
SetTileSelectSize(1, 1);