diff options
author | rubidium <rubidium@openttd.org> | 2010-08-01 18:53:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-01 18:53:30 +0000 |
commit | e356cb94050797cccbf05b3a411105528da8ee90 (patch) | |
tree | 3d98354dc5983a03e685f116b1b5c5b73607de0f /src/rail_cmd.cpp | |
parent | 605f6d0ed3c81a77d533f3db40ed50350d57536c (diff) | |
download | openttd-e356cb94050797cccbf05b3a411105528da8ee90.tar.xz |
(svn r20281) -Codechange: unify case scope closure + break coding style
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index b0d535362..9cce011bb 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1547,7 +1547,8 @@ CommandCost CmdConvertRail(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3 } cost.AddCost((GetTunnelBridgeLength(tile, endtile) + 2) * RailConvertCost(type, totype)); - } break; + break; + } default: // MP_STATION, MP_ROAD if (flags & DC_EXEC) { |