Decompile fn_17688 (CWorld::OnProcess)

Batch #11077 by cremane: 0 byte-identical, 1 confirmed by peer review.

- fn_17688 CWorld::OnProcess: logic confirmed by peer review

Peer-reviewed-by: Yommy, dori
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-11-04 23:47:48 +00:00
commit b598c5b176

View file

@ -155,12 +155,12 @@ void CWorld::OnProcess() {
continue;
}
for (auto itemEntry = this->unknown_0018.begin(); itemEntry != this->unknown_0018.end(); ++itemEntry) {
if (*itemEntry == object) {
CItem* item = static_cast<CItem*>(object);
this->RemovePcPos(item->itemAid, true);
this->RemovePcPosForMove(item->itemAid, true);
this->unknown_0018.erase(itemEntry);
for (auto actorEntry = this->actors.begin(); actorEntry != this->actors.end(); ++actorEntry) {
if (*actorEntry == object) {
this->RemovePcPos((*actorEntry)->render.accountId, true);
this->RemovePcPosForMove((*actorEntry)->render.accountId, true);
this->actors.erase(actorEntry);
break;
}
}