Even more fixes
Forgot to clean the garbage generated in the last commit.
This commit is contained in:
parent
f4f79f47bd
commit
cc1e3c534e
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue