Decompile fn_19472 (CNaviInfo::FindMobByIndex)

Batch #11952 by Yommy: 1 byte-identical, 0 confirmed by peer review.

- fn_19472 CNaviInfo::FindMobByIndex: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-05 05:43:33 +00:00
commit 10b0641ec7

View file

@ -369,9 +369,9 @@ std::vector<CNavi_Object*>* CNaviInfo::Mobs() {
// OFFSET: 0x00B8E460
// FUNCTION: fn_19472
CNavi_Object* CNaviInfo::FindMobByIndex(int index) {
for (CNavi_Object* mob : this->mobs) {
if (index == mob->GetIndex()) {
return mob;
for (std::vector<CNavi_Object*>::iterator it = this->mobs.begin(); it != this->mobs.end(); ++it) {
if (index == (*it)->GetIndex()) {
return *it;
}
}
return nullptr;