mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
std::deque is a much better fit, should have bit better performance
This commit is contained in:
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user