Changeset - r6101:71bec39f4360
[Not reviewed]
master
0 1 0
KUDr - 17 years ago 2007-02-21 21:56:07
kudr@openttd.org
(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
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/yapf/yapf_base.hpp
Show inline comments
 
@@ -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();
0 comments (0 inline, 0 general)