1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09: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

@@ -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;