Decompile fn_22560 (CPc::~CPc)
Batch #7871 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_22560 CPc::~CPc: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, secret, Snow 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
71929c2f7f
commit
0dabf5ba03
1 changed files with 15 additions and 0 deletions
|
|
@ -80,6 +80,21 @@ CPc::CPc() : footprintPosition() {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00DA7BA0
|
||||
// FUNCTION: fn_22560
|
||||
CPc::~CPc() {
|
||||
for (int i = 0; i < 9; ++i) {
|
||||
if (this->equipSprites[i] != nullptr) {
|
||||
this->equipSprites[i]->Unlock();
|
||||
}
|
||||
if (this->equipActions[i] != nullptr) {
|
||||
this->equipActions[i]->Unlock();
|
||||
}
|
||||
}
|
||||
if (this->unknown_0490 != nullptr) {
|
||||
g_windowMgr.Schedule(this->unknown_0490);
|
||||
this->unknown_0490 = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00DAFE50
|
||||
// FUNCTION: fn_22606
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue