1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 01:29:10 +00:00

(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 0b536291e2
commit f24122ba3d

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();