Fix uninitialized path walker in waypoints checker.

Update to latest crlib.
This commit is contained in:
jeefo 2020-12-18 20:06:05 +03:00
commit 4c8a4175d8
3 changed files with 7 additions and 0 deletions

View file

@ -2557,6 +2557,8 @@ bool BotGraph::checkNodes (bool teleportPlayer) {
// perform DFS instead of floyd-warshall, this shit speedup this process in a bit
PathWalk walk;
walk.init (m_paths.length ());
Array <bool> visited;
visited.resize (m_paths.length ());