From dc4249da5554afeb2e3ed995f9d026ad93bf4bca Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 11:30:58 +0000 Subject: [PATCH] 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). --- Source/Contents/Effects/Skills/StealEffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Contents/Effects/Skills/StealEffect.cpp b/Source/Contents/Effects/Skills/StealEffect.cpp index dc1748fd5..72ce96753 100644 --- a/Source/Contents/Effects/Skills/StealEffect.cpp +++ b/Source/Contents/Effects/Skills/StealEffect.cpp @@ -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(params[1])));