(svn r21273) -Codechange: Return values should start at the same line.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user