Decompile fn_03093 (EffectResourceSwitcher::SetNames)

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

- fn_03093 EffectResourceSwitcher::SetNames: logic confirmed by peer review

Peer-reviewed-by: Tanke, Toshiro, codeplay
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-06 14:56:52 +00:00
commit 787e54525a

View file

@ -115,8 +115,9 @@ void EffectResourceSwitcher::SetNames(const std::string& source, const std::stri
return;
}
EffectLists* effects = g_effectMgr;
this->effect = static_cast<CEZ2STREffect*>(
g_effectMgr->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId(this->sourceName), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0));
effects->Spawn(actor->render.accountId, CEZ2STREffectMgr::GetInstance()->EffectId(this->sourceName), 0.0f, 0.0f, 0.0f, 0, -1, 0, 0));
this->spawnPosition = actor->render.position;
}