Decompile fn_03097 (EffectResourceSwitcher::OnProcess)
Batch #17625 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_03097 EffectResourceSwitcher::OnProcess: logic confirmed by peer review Peer-reviewed-by: Yommy, cremane, Eofim 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
c260a571f2
commit
8abf5bbb13
1 changed files with 2 additions and 1 deletions
|
|
@ -155,7 +155,8 @@ void EffectResourceSwitcher::OnProcess() {
|
|||
CEZ2STREffectEx* previous = this->effect;
|
||||
this->sourceName = this->targetName;
|
||||
this->targetName = "";
|
||||
this->effect = static_cast<CEZ2STREffectEx*>(g_effectMgr->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId(this->sourceName), this->spawnPosition, 0, -1, 0, 0));
|
||||
EffectLists* effectMgr = g_effectMgr;
|
||||
this->effect = static_cast<CEZ2STREffectEx*>(effectMgr->Spawn(0, CEZ2STREffectMgr::GetInstance()->EffectId(this->sourceName), this->spawnPosition, 0, -1, 0, 0));
|
||||
this->active = 0;
|
||||
if (previous) {
|
||||
previous->EndLoop(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue