1
0
Fork 0

Actually empty the open list

This commit is contained in:
worktycho 2015-05-06 17:26:59 +01:00
parent bd73dcedd4
commit 7771091099
1 changed files with 1 additions and 1 deletions

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>{};
}