std::deque is a much better fit, should have bit better performance

This commit is contained in:
Michael Cook (mackal)
2014-12-18 02:20:03 -05:00
parent fe4872c921
commit ce9bcef620
6 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ void Mob::CalculateNewFearpoint()
Map::Vertex CurrentPosition(GetX(), GetY(), GetZ());
std::vector<int> Route = zone->pathing->FindRoute(CurrentPosition, Loc);
std::deque<int> Route = zone->pathing->FindRoute(CurrentPosition, Loc);
if(Route.size() > 0)
{