mirror of https://github.com/OpenTTD/OpenTTD
(svn r26106) -Codechange: document fall through explicitly
parent
4b8d9aad5b
commit
a399fc667c
|
@ -442,6 +442,7 @@ struct DepotWindow : Window {
|
||||||
switch (this->type) {
|
switch (this->type) {
|
||||||
case VEH_TRAIN:
|
case VEH_TRAIN:
|
||||||
if (wagon) return MODE_ERROR;
|
if (wagon) return MODE_ERROR;
|
||||||
|
/* FALL THROUGH */
|
||||||
case VEH_ROAD:
|
case VEH_ROAD:
|
||||||
if (xm <= this->flag_width) return MODE_START_STOP;
|
if (xm <= this->flag_width) return MODE_START_STOP;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue