Mercurial > hg > openttd
diff src/train_cmd.cpp @ 16547:a11cd939c335 draft
(svn r21273) -Codechange: Return values should start at the same line.
author | alberth <alberth@openttd.org> |
---|---|
date | Sat, 20 Nov 2010 15:44:24 +0000 |
parents | b9db78828e3d |
children | 1a7dbc448da5 |
line wrap: on
line diff
--- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -2703,11 +2703,8 @@ /* 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 {