forked from mirror/OpenTTD
(svn r14019) -Fix [FS#2205]: game crash after order skip while waiting for free path (michi_cc).
This commit is contained in:
@@ -182,7 +182,8 @@ struct CYapfRailNodeT
|
||||
template <class Tbase, class Tfunc, class Tpf>
|
||||
bool IterateTiles(const Vehicle *v, Tpf &yapf, Tbase &obj, bool (Tfunc::*func)(TileIndex, Trackdir)) const
|
||||
{
|
||||
typename Tbase::TrackFollower ft(v, yapf.GetCompatibleRailTypes());
|
||||
typedef typename Tbase::TrackFollower TrackFollower;
|
||||
typename TrackFollower::BaseNoMask ft(v, yapf.GetCompatibleRailTypes());
|
||||
TileIndex cur = base::GetTile();
|
||||
Trackdir cur_td = base::GetTrackdir();
|
||||
|
||||
|
Reference in New Issue
Block a user