Batch #1214 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_17885 CPathFinder::Reset: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker Reviewed-by: ragnarok-clanker Adds to the build: Source/Contents/TerrainPathSearch.cpp
10 lines
357 B
C++
10 lines
357 B
C++
#include "Contents/TerrainPathSearch.h"
|
|
|
|
// OFFSET: 0x00AD9840
|
|
// FUNCTION: fn_17885
|
|
void CPathFinder::Reset() {
|
|
this->nodePool.erase(this->nodePool.begin(), this->nodePool.end());
|
|
this->nodeMap.erase(this->nodeMap.begin(), this->nodeMap.end());
|
|
std::vector<MovementPathNode*>& open = this->openList.Nodes();
|
|
open.erase(open.begin(), open.end());
|
|
}
|