summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-07 07:40:44 +0000
committercelestar <celestar@openttd.org>2006-04-07 07:40:44 +0000
commit025584ae26e4e8d557a4d11fcb74583beb445f91 (patch)
tree89f96d2464372415405a32b91546a0bd1f0cdd9c
parent48b69f13442f2e94be19209a518083ed1daa05bb (diff)
downloadopenttd-025584ae26e4e8d557a4d11fcb74583beb445f91.tar.xz
(svn r4307) -Fix: Coding style in previous commit. Thanks to Tron for instant notice
-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);