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
commit3e70ee6ed7ea7bfb7b08ee70206a30651aec956b (patch)
tree846aa4f1b2b7c56288258e3f5e20efa172fe99a1 /src/dock_gui.cpp
parenta5f99154b755c85dabe8e2a8cc352b7d1a0fbb6c (diff)
downloadopenttd-3e70ee6ed7ea7bfb7b08ee70206a30651aec956b.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);