1
0

Merge pull request #1952 from mc-server/coverity-fix

Actually empty the open list
This commit is contained in:
Alexander Harkness 2015-05-06 20:41:17 +01:00
commit 9544020477

View File

@ -245,7 +245,7 @@ void cPath::FinishCalculation()
}
m_Map.clear();
m_OpenList.empty();
m_OpenList = std::priority_queue<cPathCell *, std::vector<cPathCell *>, compareHeuristics>{};
}