1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 17:19:09 +00:00

(svn r5162) - CodeChange: [YAPF] added flag "choice seen" into YAPF node for trains

This commit is contained in:
KUDr
2006-06-07 21:16:43 +00:00
parent be88e269b9
commit 4c52f88ed1
5 changed files with 14 additions and 10 deletions

View File

@@ -15,9 +15,9 @@ struct CYapfRoadNodeT
TileIndex m_segment_last_tile;
Trackdir m_segment_last_td;
void Set(CYapfRoadNodeT* parent, TileIndex tile, Trackdir td)
void Set(CYapfRoadNodeT* parent, TileIndex tile, Trackdir td, bool is_choice)
{
base::Set(parent, tile, td);
base::Set(parent, tile, td, is_choice);
m_segment_last_tile = tile;
m_segment_last_td = td;
}