summaryrefslogtreecommitdiff
path: root/src/dock_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
commita1489850876a28c273e1e633515c11062c832df2 (patch)
tree846aa4f1b2b7c56288258e3f5e20efa172fe99a1 /src/dock_gui.cpp
parent55b0146498ba3789406aa7bf08426a9b1e2eea2d (diff)
downloadopenttd-a1489850876a28c273e1e633515c11062c832df2.tar.xz
(svn r12154) -Codechange: removed a magic number
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r--src/dock_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp
index 39f40a3a2..d4e883674 100644
--- a/src/dock_gui.cpp
+++ b/src/dock_gui.cpp
@@ -243,7 +243,7 @@ static void BuildDockStationWndProc(Window *w, WindowEvent *e)
case WE_CREATE: w->LowerWidget(_station_show_coverage + 3); break;
case WE_PAINT: {
- int rad = (_patches.modified_catchment) ? CA_DOCK : 4;
+ int rad = (_patches.modified_catchment) ? CA_DOCK : CA_UNMODIFIED;
if (WP(w, def_d).close) return;
DrawWindowWidgets(w);