(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
replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
KUDr 18 years ago
parent 0b536291e2
commit f24122ba3d

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

Loading…
Cancel
Save