And do not delete curly brackets.
This commit is contained in:
parent
cb1f28a3a3
commit
f0fbd4790f
|
@ -806,6 +806,7 @@ std::tuple<std::vector<Otc::Direction>, Otc::PathFindResult> Map::findPath(const
|
|||
|
||||
if(!node->evaluated)
|
||||
currentNode = node;
|
||||
}
|
||||
|
||||
searchList.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue