From cfb8092397709fe2276d8a5c5386c334b0a9199e Mon Sep 17 00:00:00 2001 From: J0an Josep Date: Tue, 15 Aug 2017 17:56:34 +0200 Subject: Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation. --- src/rail_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rail_cmd.cpp') 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? */ -- cgit v1.2.3-70-g09d2