Decompile fn_19595 (CNavigationManager::ResetCurrentTarget)

Batch #7311 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_19595 CNavigationManager::ResetCurrentTarget: logic confirmed by peer review

Peer-reviewed-by: meitogi, gordaoprogramas, aDw
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-10-31 06:31:51 +00:00
commit b13ac6ac22
2 changed files with 9 additions and 0 deletions

View file

@ -797,3 +797,11 @@ CNavi_Link* CNavigationManager::GetNode(int index) const {
}
return nullptr;
}
// OFFSET: 0x00B96F20
// FUNCTION: fn_19595
void CNavigationManager::ResetCurrentTarget() {
this->currentTarget = NavigationTarget();
this->LoadTargetPreview();
this->ClearRouteNodes();
}