mirror of https://github.com/OpenTTD/OpenTTD
(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 guessedrelease/0.6
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…
Reference in New Issue