Even more fixes

Forgot to clean the garbage generated in the last commit.
This commit is contained in:
sakagushi 2014-02-06 04:34:04 -02:00
parent f4f79f47bd
commit cc1e3c534e
1 changed files with 1 additions and 0 deletions

View File

@ -807,6 +807,7 @@ std::tuple<std::vector<Otc::Direction>, Otc::PathFindResult> Map::findPath(const
if(!node->evaluated) if(!node->evaluated)
currentNode = node; currentNode = node;
} }
searchList.clear();
} }
if(foundNode) { if(foundNode) {