Decompile fn_18974 (CSteal::OnProcess)

Batch #18097 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_18974 CSteal::OnProcess: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, alisonrag, KWDev
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-12 11:30:58 +00:00
commit dc4249da55

View file

@ -121,7 +121,7 @@ void CSteal::OnProcess() {
const float velocityY = particle->velocity.y;
const float velocityZ = particle->velocity.z;
float lift = params[3] + params[4];
const float distance = std::max(0.0f, params[0] + particle->frameDelay);
const float distance = std::max(params[0] + particle->frameDelay, 0.0f);
matrix rotation;
rotation.MakeYRotation(GetRadian(static_cast<int>(params[1])));