Batch #1332 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_17860 CPathFinder::CPathFinder: logic confirmed by peer review Reviewed-by: ragnarok-clanker
15 lines
454 B
C++
15 lines
454 B
C++
#include "Contents/TerrainPathSearch.h"
|
|
|
|
// OFFSET: 0x00AD7E70
|
|
// FUNCTION: fn_17860
|
|
CPathFinder::CPathFinder() : useNodePool(false) {
|
|
}
|
|
|
|
// 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());
|
|
}
|