diff options
author | frosch <frosch@openttd.org> | 2017-08-13 18:38:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2017-08-13 18:38:42 +0000 |
commit | b4b98e51655012ea42dbc8ab9e455fbec0d04b39 (patch) | |
tree | 948fc802d5dfdca71454f6ce479e4f429e98488d /src/depot_gui.cpp | |
parent | 19bae485b028380fbdc94d02ebaecdf3ca23f932 (diff) | |
download | openttd-b4b98e51655012ea42dbc8ab9e455fbec0d04b39.tar.xz |
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 3 |
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; |