Actually empty the open list
This commit is contained in:
parent
bd73dcedd4
commit
7771091099
@ -245,7 +245,7 @@ void cPath::FinishCalculation()
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_Map.clear();
|
m_Map.clear();
|
||||||
m_OpenList.empty();
|
m_OpenList = std::priority_queue<cPathCell *, std::vector<cPathCell *>, compareHeuristics>{};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user