summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorJ0an Josep <juanjo.ng.83@gmail.com>2017-08-15 17:56:34 +0200
committerfrosch <github@elsenhans.name>2018-04-30 21:52:40 +0200
commitcfb8092397709fe2276d8a5c5386c334b0a9199e (patch)
tree714fa04d7b38f6e37f518a33ed3d38a67cfeca4b /src/saveload
parent3f40cd505db78932cd355711d6294e6dc4446410 (diff)
downloadopenttd-cfb8092397709fe2276d8a5c5386c334b0a9199e.tar.xz
Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/vehicle_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp
index 2234659ab..0bd283405 100644
--- a/src/saveload/vehicle_sl.cpp
+++ b/src/saveload/vehicle_sl.cpp
@@ -433,8 +433,8 @@ void AfterLoadVehicles(bool part_of_load)
RoadVehicle *rv = RoadVehicle::From(v);
rv->roadtype = HasBit(EngInfo(v->First()->engine_type)->misc_flags, EF_ROAD_TRAM) ? ROADTYPE_TRAM : ROADTYPE_ROAD;
rv->compatible_roadtypes = RoadTypeToRoadTypes(rv->roadtype);
+ FALLTHROUGH;
}
- FALLTHROUGH;
case VEH_TRAIN:
case VEH_SHIP: