(svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks properly this time. (michi_cc)

This commit is contained in:
rubidium
2008-08-11 22:58:30 +00:00
parent d0c1a989a4
commit c04ab6628b
4 changed files with 34 additions and 32 deletions

View File

@@ -182,8 +182,7 @@ struct CYapfRailNodeT
template <class Tbase, class Tfunc, class Tpf>
bool IterateTiles(const Vehicle *v, Tpf &yapf, Tbase &obj, bool (Tfunc::*func)(TileIndex, Trackdir)) const
{
typedef typename Tbase::TrackFollower TrackFollower;
typename TrackFollower::BaseNoMask ft(v, yapf.GetCompatibleRailTypes());
typename Tbase::TrackFollower ft(v, yapf.GetCompatibleRailTypes());
TileIndex cur = base::GetTile();
Trackdir cur_td = base::GetTrackdir();