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.
This commit is contained in:
ragnarok-clanker 2026-11-12 13:23:07 +00:00
commit 98ac402425

View file

@ -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<float>(this->ringCount - 1) * static_cast<float>(ring) : 0.0f;
particle->animationParameter = 1 < this->ringCount ? this->height / static_cast<float>(this->ringCount - 1) * static_cast<float>(ring) : 0.0f;
particle->speedParameter = this->angleSpeed;
particle->angleParameter = this->arcLength;
if (this->sourceBlend != -1) {