(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:
rubidium
2008-11-07 17:59:51 +00:00
parent e91ae97e19
commit c7f3935506
4 changed files with 27 additions and 2 deletions

View File

@@ -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)
{