Merge pull request #1952 from mc-server/coverity-fix
Actually empty the open list
This commit is contained in:
commit
9544020477
@ -245,7 +245,7 @@ void cPath::FinishCalculation()
|
||||
}
|
||||
|
||||
m_Map.clear();
|
||||
m_OpenList.empty();
|
||||
m_OpenList = std::priority_queue<cPathCell *, std::vector<cPathCell *>, compareHeuristics>{};
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user