rodecomp/Source/Contents/TerrainPathSearch.cpp
ragnarok-clanker 8ae06b0cc7 Decompile fn_17885 (CPathFinder::Reset)
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
2026-10-27 21:58:46 +00:00

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