(svn r8836) [YAPF] -Fix[FS#641]: Assertion: 'IsTileDepotType(depot_tile, TRANSPORT_ROAD)' failed (Karsten)

-don't tell that we found destination if the best direction was only guessed
This commit is contained in:
KUDr
2007-02-21 21:56:07 +00:00
parent 84754e45d6
commit f1ee924fc5

View File

@@ -134,7 +134,7 @@ public:
}
}
bool bDestFound = (m_pBestDestNode != NULL);
bool bDestFound = (m_pBestDestNode != NULL) && (m_pBestDestNode != m_pBestIntermediateNode);
#ifndef NO_DEBUG_MESSAGES
perf.Stop();