summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-11-25 13:28:08 +0000
committerrubidium <rubidium@openttd.org>2013-11-25 13:28:08 +0000
commita399fc667ce506abcdcfd853d1ad58f0bb8dbb4f (patch)
tree3a5bf8042ace5bb2536bcedc858f7df061acaa8d /src/depot_gui.cpp
parent4b8d9aad5b4359345c79f8f5567db4f88c2d41e1 (diff)
downloadopenttd-a399fc667ce506abcdcfd853d1ad58f0bb8dbb4f.tar.xz
(svn r26106) -Codechange: document fall through explicitly
Diffstat (limited to 'src/depot_gui.cpp')
-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;