diff options
author | alberth <alberth@openttd.org> | 2010-11-20 15:44:24 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-11-20 15:44:24 +0000 |
commit | ab50f74d7fa3c1c96de54012ccc197c4800901c8 (patch) | |
tree | fbee322b7dcec81c6a98a1ee923984d902e834f9 /src/station_map.h | |
parent | 38dc34828ea679e4952f9f30361382e29d2f2e06 (diff) | |
download | openttd-ab50f74d7fa3c1c96de54012ccc197c4800901c8.tar.xz |
(svn r21273) -Codechange: Return values should start at the same line.
Diffstat (limited to 'src/station_map.h')
-rw-r--r-- | src/station_map.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/station_map.h b/src/station_map.h index 8d3bcb54d..661cc834c 100644 --- a/src/station_map.h +++ b/src/station_map.h @@ -379,12 +379,10 @@ static inline TrackBits GetRailStationTrackBits(TileIndex t) static inline bool IsCompatibleTrainStationTile(TileIndex t1, TileIndex t2) { assert(IsRailStationTile(t2)); - return - IsRailStationTile(t1) && - IsCompatibleRail(GetRailType(t1), GetRailType(t2)) && - GetRailStationAxis(t1) == GetRailStationAxis(t2) && - GetStationIndex(t1) == GetStationIndex(t2) && - !IsStationTileBlocked(t1); + return IsRailStationTile(t1) && IsCompatibleRail(GetRailType(t1), GetRailType(t2)) && + GetRailStationAxis(t1) == GetRailStationAxis(t2) && + GetStationIndex(t1) == GetStationIndex(t2) && + !IsStationTileBlocked(t1); } /** |