From baa30a1ba9426f9c93ea1db7ac981b9e1d7dbce6 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Sun, 7 Dec 2025 21:05:54 -0500 Subject: [PATCH] Actually fix interp artifacts --- src/r_fps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/r_fps.c b/src/r_fps.c index 5a1936f98..eb68acd5a 100644 --- a/src/r_fps.c +++ b/src/r_fps.c @@ -319,9 +319,9 @@ void R_InterpolateMobjState(mobj_t *mobj, fixed_t frac, interpmobjstate_t *out) } else { - out->scale = R_LerpFixed(mobj->old_scale, mobj->scale, frac); - out->radius = FixedMul(mobj->radius, FixedDiv(out->scale, mobj->scale)); - out->height = FixedMul(mobj->height, FixedDiv(out->scale, mobj->scale)); + out->scale = mobj->resetinterp ? mobj->scale : R_LerpFixed(mobj->old_scale, mobj->scale, frac); + out->radius = mobj->resetinterp ? mobj->radius : FixedMul(mobj->radius, FixedDiv(out->scale, mobj->scale)); + out->height = mobj->resetinterp ? mobj->height : FixedMul(mobj->height, FixedDiv(out->scale, mobj->scale)); } out->subsector = R_PointInSubsector(out->x, out->y);