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).
This commit is contained in:
ragnarok-clanker 2026-11-05 03:13:35 +00:00
commit 1a63b6247b

View file

@ -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;
}