(svn r14566) -Fix [FS#2397]: RV's go via order would reserve a slot at the 'via' station which it never uses, which makes it unlikely that it reserves a slot for the next station and that makes queueing fail (Aali)
This commit is contained in:
@@ -598,6 +598,15 @@ static inline bool IsSnowRailGround(TileIndex t)
|
||||
return GetRailGroundType(t) == RAIL_GROUND_ICE_DESERT;
|
||||
}
|
||||
|
||||
static inline void UpdateStat(TileIndex t, bool on_track)
|
||||
{
|
||||
_me[t].m7 = _me[t].m7 << 1 | !!on_track;
|
||||
}
|
||||
|
||||
static inline byte GetStat(TileIndex t)
|
||||
{
|
||||
return _me[t].m7;
|
||||
}
|
||||
|
||||
static inline void MakeRailNormal(TileIndex t, Owner o, TrackBits b, RailType r)
|
||||
{
|
||||
|
Reference in New Issue
Block a user