From 10ce4d9b59782c5c3d8032dcaedcda4d98655df2 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 18:54:28 +0000 Subject: [PATCH] Decompile fn_18876 (CCellRangeEffect::SetCellTexture) Batch #16369 by youko: 0 byte-identical, 1 confirmed by peer review. - fn_18876 CCellRangeEffect::SetCellTexture: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy, Toshiro Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Effects/CellRangeEffect.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/Contents/Effects/CellRangeEffect.cpp b/Source/Contents/Effects/CellRangeEffect.cpp index 4136040ec..42535db45 100644 --- a/Source/Contents/Effects/CellRangeEffect.cpp +++ b/Source/Contents/Effects/CellRangeEffect.cpp @@ -29,19 +29,19 @@ void CCellRangeEffect::SetCellTexture(CParticle* particle) { } const int frame = (particle->elapsedFrames + particle->columnIndex) / 10 % 3 + 1; - std::string name; + std::string name(""); switch (this->id) { case EF_KO_ZENKAI_WATER: - name = FormatOwnedString("effect\\water-%d.bmp", frame); + name = static_cast(FormatOwnedString("effect\\water-%d.bmp", frame)); break; case EF_KO_ZENKAI_LAND: - name = FormatOwnedString("effect\\stone-%d.bmp", frame); + name = static_cast(FormatOwnedString("effect\\stone-%d.bmp", frame)); break; case EF_KO_ZENKAI_FIRE: - name = FormatOwnedString("effect\\fire-%d.bmp", frame); + name = static_cast(FormatOwnedString("effect\\fire-%d.bmp", frame)); break; case EF_KO_ZENKAI_WIND: - name = FormatOwnedString("effect\\lightning-%d.bmp", frame); + name = static_cast(FormatOwnedString("effect\\lightning-%d.bmp", frame)); break; case EF_KO_MAKIBISHI: name = "effect\\makibishi.bmp";