summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
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/rail_cmd.cpp
parent3f40cd505db78932cd355711d6294e6dc4446410 (diff)
downloadopenttd-cfb8092397709fe2276d8a5c5386c334b0a9199e.tar.xz
Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation.
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r--src/rail_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp
index 9f284fc30..5bc97a58d 100644
--- a/src/rail_cmd.cpp
+++ b/src/rail_cmd.cpp
@@ -554,8 +554,8 @@ CommandCost CmdBuildSingleRail(TileIndex tile, DoCommandFlag flags, uint32 p1, u
if (IsLevelCrossing(tile) && GetCrossingRailBits(tile) == trackbit) {
return_cmd_error(STR_ERROR_ALREADY_BUILT);
}
+ FALLTHROUGH;
}
- FALLTHROUGH;
default: {
/* Will there be flat water on the lower halftile? */