(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 7fd88e5798
commit 68372f4c16
5 changed files with 14 additions and 10 deletions

View File

@@ -38,7 +38,7 @@ struct CYapfNodeT {
int m_cost;
int m_estimate;
FORCEINLINE void Set(Node *parent, TileIndex tile, Trackdir td)
FORCEINLINE void Set(Node *parent, TileIndex tile, Trackdir td, bool is_choice)
{
m_key.Set(tile, td);
m_hash_next = NULL;