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)
|
if(!node->evaluated)
|
||||||
currentNode = node;
|
currentNode = node;
|
||||||
|
}
|
||||||
|
|
||||||
searchList.clear();
|
searchList.clear();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue