summaryrefslogtreecommitdiff
path: root/src/articulated_vehicles.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-01 18:53:30 +0000
committerrubidium <rubidium@openttd.org>2010-08-01 18:53:30 +0000
commite356cb94050797cccbf05b3a411105528da8ee90 (patch)
tree3d98354dc5983a03e685f116b1b5c5b73607de0f /src/articulated_vehicles.cpp
parent605f6d0ed3c81a77d533f3db40ed50350d57536c (diff)
downloadopenttd-e356cb94050797cccbf05b3a411105528da8ee90.tar.xz
(svn r20281) -Codechange: unify case scope closure + break coding style
Diffstat (limited to 'src/articulated_vehicles.cpp')
-rw-r--r--src/articulated_vehicles.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/articulated_vehicles.cpp b/src/articulated_vehicles.cpp
index 47c4f06cf..40581143a 100644
--- a/src/articulated_vehicles.cpp
+++ b/src/articulated_vehicles.cpp
@@ -340,7 +340,8 @@ void AddArticulatedParts(Vehicle *first)
}
t->SetArticulatedPart();
- } break;
+ break;
+ }
case VEH_ROAD: {
RoadVehicle *front = RoadVehicle::From(first);
@@ -366,7 +367,8 @@ void AddArticulatedParts(Vehicle *first)
}
rv->SetArticulatedPart();
- } break;
+ break;
+ }
}
/* get common values from first engine */