From 98ac402425654bf2e464508244e5f66c1875dc79 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 13:23:07 +0000 Subject: [PATCH] Decompile fn_07539 (CWindEffect::Init) Batch #18340 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_07539 CWindEffect::Init: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Effects/Skills/WindEffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Contents/Effects/Skills/WindEffect.cpp b/Source/Contents/Effects/Skills/WindEffect.cpp index 4185e5bd6..4760114a2 100644 --- a/Source/Contents/Effects/Skills/WindEffect.cpp +++ b/Source/Contents/Effects/Skills/WindEffect.cpp @@ -38,7 +38,7 @@ void CWindEffect::Init() { particle->alpha = alpha; particle->SetColor(this->red, this->green, this->blue); particle->scale = this->particleScale; - particle->animationParameter = this->ringCount > 1 ? this->height / static_cast(this->ringCount - 1) * static_cast(ring) : 0.0f; + particle->animationParameter = 1 < this->ringCount ? this->height / static_cast(this->ringCount - 1) * static_cast(ring) : 0.0f; particle->speedParameter = this->angleSpeed; particle->angleParameter = this->arcLength; if (this->sourceBlend != -1) {