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/train_cmd.cpp | |
parent | 38dc34828ea679e4952f9f30361382e29d2f2e06 (diff) | |
download | openttd-ab50f74d7fa3c1c96de54012ccc197c4800901c8.tar.xz |
(svn r21273) -Codechange: Return values should start at the same line.
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 26b45b1f1..7fd874732 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -2703,11 +2703,8 @@ static void TrainEnterStation(Train *v, StationID station) /* Check if the vehicle is compatible with the specified tile */ static inline bool CheckCompatibleRail(const Train *v, TileIndex tile) { - return - IsTileOwner(tile, v->owner) && ( - !v->IsFrontEngine() || - HasBit(v->compatible_railtypes, GetRailType(tile)) - ); + return IsTileOwner(tile, v->owner) && + (!v->IsFrontEngine() || HasBit(v->compatible_railtypes, GetRailType(tile))); } struct RailtypeSlowdownParams { |