summaryrefslogtreecommitdiff
path: root/src/signal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal.cpp')
-rw-r--r--src/signal.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index 8e870b53d..b37e15074 100644
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -504,7 +504,8 @@ static SigSegState UpdateSignalsInBuffer(Owner owner)
_tbdset.Add(tile, INVALID_DIAGDIR); // start from depot inside
break;
}
- /* FALL THROUGH */
+ FALLTHROUGH;
+
case MP_STATION:
case MP_ROAD:
if ((TrackStatusToTrackBits(GetTileTrackStatus(tile, TRANSPORT_RAIL, 0)) & _enterdir_to_trackbits[dir]) != TRACK_BIT_NONE) {
@@ -513,7 +514,8 @@ static SigSegState UpdateSignalsInBuffer(Owner owner)
_tbdset.Add(tile + TileOffsByDiagDir(dir), ReverseDiagDir(dir));
break;
}
- /* FALL THROUGH */
+ FALLTHROUGH;
+
default:
/* jump to next tile */
tile = tile + TileOffsByDiagDir(dir);