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).
This commit is contained in:
ragnarok-clanker 2026-11-11 13:17:46 +00:00
commit e45259b5e4

View file

@ -1655,7 +1655,7 @@ __declspec(safebuffers) void CEffectPrim::RenderSegmentSpriteGlow(matrix& wtm) {
const short alpha = static_cast<short>(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;
}