mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-23 20:24:12 +01:00
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
This commit is contained in:
@@ -1269,7 +1269,7 @@ bool Vehicle::HandleBreakdown()
|
||||
SetWindowDirty(WC_VEHICLE_VIEW, this->index);
|
||||
SetWindowDirty(WC_VEHICLE_DETAILS, this->index);
|
||||
|
||||
/* FALL THROUGH */
|
||||
FALLTHROUGH;
|
||||
case 1:
|
||||
/* Aircraft breakdowns end only when arriving at the airport */
|
||||
if (this->type == VEH_AIRCRAFT) return false;
|
||||
|
||||
Reference in New Issue
Block a user