Switch path stuff to vectors

This should be more CPU cache friendly compared to lists so should
be faster. (profiling looked promising)
This commit is contained in:
Michael Cook (mackal)
2014-12-17 01:52:00 -05:00
parent 5099010840
commit a14f8058da
7 changed files with 39 additions and 38 deletions
+1 -1
View File
@@ -1225,7 +1225,7 @@ protected:
Map::Vertex PathingLastPosition;
int PathingLoopCount;
int PathingLastNodeVisited;
std::list<int> Route;
std::vector<int> Route;
LOSType PathingLOSState;
Timer *PathingLOSCheckTimer;
Timer *PathingRouteUpdateTimerShort;