From e45259b5e4286c2ed2af6b3e8e2dd290eb4a6fe8 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 13:17:46 +0000 Subject: [PATCH] Decompile fn_20000 (CEffectPrim::RenderSegmentSpriteGlow) Batch #17013 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_20000 CEffectPrim::RenderSegmentSpriteGlow: logic confirmed by peer review Peer-reviewed-by: Yommy, Toshiro, br4yan Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Effects/Primitives/EffectPrimitiveArcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Contents/Effects/Primitives/EffectPrimitiveArcs.cpp b/Source/Contents/Effects/Primitives/EffectPrimitiveArcs.cpp index 62cbe6ffa..449aa53f2 100644 --- a/Source/Contents/Effects/Primitives/EffectPrimitiveArcs.cpp +++ b/Source/Contents/Effects/Primitives/EffectPrimitiveArcs.cpp @@ -1655,7 +1655,7 @@ __declspec(safebuffers) void CEffectPrim::RenderSegmentSpriteGlow(matrix& wtm) { const short alpha = static_cast(this->state.alpha); for (int ec = 0; ec < 4; ++ec) { - if (this->state.slots[ec].life <= 0 || this->state.alpha <= 0.0f) { + if (this->state.slots[ec].life <= 0 || !(this->state.alpha > 0.0f)) { continue; }