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
 
@@ -131,13 +131,13 @@ public:
 
			} else {
 
				m_pBestDestNode = m_pBestIntermediateNode;
 
				break;
 
			}
 
		}
 

	
 
		bool bDestFound = (m_pBestDestNode != NULL);
 
		bool bDestFound = (m_pBestDestNode != NULL) && (m_pBestDestNode != m_pBestIntermediateNode);
 

	
 
#ifndef NO_DEBUG_MESSAGES
 
		perf.Stop();
 
		if (_debug_yapf_level >= 3) {
 
			int t = perf.Get(1000000);
 
			_total_pf_time_us += t;
0 comments (0 inline, 0 general)