summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index 47eefc65e..a99f2e4dd 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -445,7 +445,8 @@ struct DepotWindow : Window {
switch (this->type) {
case VEH_TRAIN:
if (wagon) return MODE_ERROR;
- /* FALL THROUGH */
+ FALLTHROUGH;
+
case VEH_ROAD:
if (xm <= this->flag_width) return MODE_START_STOP;
break;