rodecomp/Source/Contents/TerrainPathSearch.cpp
ragnarok-clanker dc2de404c9 Decompile fn_17860 (CPathFinder::CPathFinder)
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
2026-10-28 10:29:49 +00:00

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());
}