From 787e54525a7198723e58d57c8f68f1a777a76d3e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 14:56:52 +0000 Subject: [PATCH] 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). --- Source/Contents/EffectResourceSwitcher.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Contents/EffectResourceSwitcher.cpp b/Source/Contents/EffectResourceSwitcher.cpp index 393a7a01..c454b9d7 100644 --- a/Source/Contents/EffectResourceSwitcher.cpp +++ b/Source/Contents/EffectResourceSwitcher.cpp @@ -115,8 +115,9 @@ void EffectResourceSwitcher::SetNames(const std::string& source, const std::stri return; } + EffectLists* effects = g_effectMgr; this->effect = static_cast( - 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; }