From bd96b60b3092ae91c64f806a2a613e7313608dc6 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 14:31:22 +0000 Subject: [PATCH] Decompile fn_07495 (CSunStanceEffect::Open) Batch #16015 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_07495 CSunStanceEffect::Open: logic confirmed by peer review Peer-reviewed-by: alisonrag, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Effects/SunStanceEffect.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Source/Contents/Effects/SunStanceEffect.cpp b/Source/Contents/Effects/SunStanceEffect.cpp index e31565763..f3f5f667c 100644 --- a/Source/Contents/Effects/SunStanceEffect.cpp +++ b/Source/Contents/Effects/SunStanceEffect.cpp @@ -37,29 +37,27 @@ void CSunStanceEffect::Open() { continue; } - const char* texture; switch (this->id) { case 1214: default: - texture = "effect\\sun_stance\\sun_stance.tga"; + particle->SetTexture("effect\\sun_stance\\sun_stance.tga"); break; case 1215: - texture = "effect\\sun_stance\\lunar_stance.tga"; + particle->SetTexture("effect\\sun_stance\\lunar_stance.tga"); break; case 1216: - texture = "effect\\sun_stance\\star_stance.tga"; + particle->SetTexture("effect\\sun_stance\\star_stance.tga"); break; case 1217: if (index == 0) { - texture = "effect\\sun_stance\\sun_stance.tga"; + particle->SetTexture("effect\\sun_stance\\sun_stance.tga"); } else if (index == 1) { - texture = "effect\\sun_stance\\lunar_stance.tga"; + particle->SetTexture("effect\\sun_stance\\lunar_stance.tga"); } else { - texture = "effect\\sun_stance\\star_stance.tga"; + particle->SetTexture("effect\\sun_stance\\star_stance.tga"); } break; } - particle->SetTexture(texture); particle->effectId = this->id; particle->columnIndex = 1;