Decompile fn_19838 (CEffectPrim::PrimSphereWind2)

Batch #12949 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_19838 CEffectPrim::PrimSphereWind2: logic confirmed by peer review

Peer-reviewed-by: aDw, cremane, codeplay
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-06 03:29:27 +00:00
commit fdc3546467

View file

@ -4056,7 +4056,7 @@ void CEffectPrim::PrimSphereWind2() {
slot.riseAngle -= 360;
}
slot.rotStart = static_cast<std::int16_t>(static_cast<int>(static_cast<float>(slot.rotStart) + slot.height[2]));
slot.rotStart = static_cast<std::int16_t>(static_cast<int>(static_cast<float>(slot.rotStart) + slot.height[1]));
if (slot.rotStart >= 360) {
slot.rotStart -= 360;