summaryrefslogtreecommitdiff
path: root/rail_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'rail_gui.c')
-rw-r--r--rail_gui.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/rail_gui.c b/rail_gui.c
index 34900d604..63fccd86d 100644
--- a/rail_gui.c
+++ b/rail_gui.c
@@ -868,12 +868,7 @@ static void StationBuildWndProc(Window *w, WindowEvent *e) {
SetTileSelectSize(x, y);
}
- if (_patches.modified_catchment) {
- rad = CA_TRAIN;
- } else {
- rad = 4;
- }
-
+ rad = (_patches.modified_catchment) ? CA_TRAIN : 4;
if (_station_show_coverage)
SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad);