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:
parent
f18f4ca62e
commit
b598c5b176
1 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue