Permalink
Browse files

Actually empty the open list

  • Loading branch information...
worktycho committed May 6, 2015
1 parent bd73dce commit 7771091099fad43025c63694ccf9362cce384aa8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Mobs/Path.cpp
View
@@ -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

Please sign in to comment.