Permalink
Browse files
Actually empty the open list
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/Mobs/Path.cpp
|
|
@@ -245,7 +245,7 @@ void cPath::FinishCalculation() |
|
|
}
|
|
|
|
|
|
m_Map.clear();
|
|
|
m_OpenList.empty();
|
|
|
m_OpenList = std::priority_queue<cPathCell *, std::vector<cPathCell *>, compareHeuristics>{};
|
|
|
}
|
|
|
|
|
|
|
|
|
|
0 comments on commit
7771091