From 1a63b6247bd0dfa445d2f7960f726f0fbc2cf136 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 03:13:35 +0000 Subject: [PATCH] Decompile fn_19786 (CEffectPrim::Prim3DTextureNoMaster) Batch #11742 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_19786 CEffectPrim::Prim3DTextureNoMaster: logic confirmed by peer review Peer-reviewed-by: Yommy, Tanke, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Effects/EffectPrimitiveMotion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Contents/Effects/EffectPrimitiveMotion.cpp b/Source/Contents/Effects/EffectPrimitiveMotion.cpp index c69cf189..cad3565a 100644 --- a/Source/Contents/Effects/EffectPrimitiveMotion.cpp +++ b/Source/Contents/Effects/EffectPrimitiveMotion.cpp @@ -2616,7 +2616,7 @@ bool CEffectPrim::Prim3DTextureNoMaster() { particle.longitude = particle.longSpeed + particle.longitude; particle.latitude = particle.latiSpeed + particle.latitude; - if (!(particle.heightSize <= particle.maxHeightSize)) { + if (particle.maxHeightSize <= particle.heightSize && particle.heightSize != particle.maxHeightSize) { particle.heightAccel = 0; particle.heightSpeed = 0; }