Mercurial > hg > openttd
changeset 3463:0ff21e79cd9b draft
(svn r4307) -Fix: Coding style in previous commit. Thanks to Tron for instant notice
author | celestar <celestar@openttd.org> |
---|---|
date | Fri, 07 Apr 2006 07:40:44 +0000 |
parents | fed34c0d3276 |
children | 2213acf67f25 |
files | elrail.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/elrail.c +++ b/elrail.c @@ -95,8 +95,9 @@ 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);