summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/depot_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index 10de2bece..c677d039d 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -442,6 +442,7 @@ struct DepotWindow : Window {
switch (this->type) {
case VEH_TRAIN:
if (wagon) return MODE_ERROR;
+ /* FALL THROUGH */
case VEH_ROAD:
if (xm <= this->flag_width) return MODE_START_STOP;
break;