summaryrefslogtreecommitdiff
path: root/dock_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'dock_gui.c')
-rw-r--r--dock_gui.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/dock_gui.c b/dock_gui.c
index 12d07606b..a1e14b726 100644
--- a/dock_gui.c
+++ b/dock_gui.c
@@ -230,11 +230,8 @@ static void BuildDockStationWndProc(Window *w, WindowEvent *e)
return;
w->click_state = (1<<3) << _station_show_coverage;
DrawWindowWidgets(w);
- if (_patches.modified_catchment) {
- rad = CA_DOCK;
- } else {
- rad = 4;
- }
+
+ rad = (_patches.modified_catchment) ? CA_DOCK : 4;
if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad);
else SetTileSelectBigSize(0, 0, 0, 0);