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
commita251b9373f2b272d2891ddc7bcaafd0f176b2120 (patch)
tree89f96d2464372415405a32b91546a0bd1f0cdd9c
parentf2cb8b8bd616c61ddf1b0e84211493a8bc904ebf (diff)
downloadopenttd-a251b9373f2b272d2891ddc7bcaafd0f176b2120.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);