(svn r9693) -Codechange [YAPF]: GetBestNode() now returns pointer to node instead of reference

This commit is contained in:
KUDr
2007-04-20 19:13:35 +00:00
parent 52daf7a2d3
commit 1a7fec1894
4 changed files with 14 additions and 13 deletions

View File

@@ -67,7 +67,7 @@ public:
if (bFound) {
// path was found
// walk through the path back to the origin
Node* pNode = &pf.GetBestNode();
Node* pNode = pf.GetBestNode();
Node* pPrevNode = NULL;
while (pNode->m_parent != NULL) {
pPrevNode = pNode;