summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elrail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elrail.c b/elrail.c
index f56e03dd6..eff97713f 100644
--- a/elrail.c
+++ b/elrail.c
@@ -95,8 +95,9 @@ static TrackBits GetRailTrackBitsUniversal(TileIndex t, byte *override)
if (IsTransportUnderBridge(t) &&
GetTransportTypeUnderBridge(t) == TRANSPORT_RAIL) {
return GetRailBitsUnderBridge(t);
- } else
+ } else {
return 0;
+ }
} else {
if (override != NULL && DistanceMax(t, GetOtherBridgeEnd(t)) > 1) *override = 1 << GetBridgeRampDirection(t);