From 965558c52fd0ba4ec3fcbeefe6d4b206cac904d6 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Tue, 31 May 2022 10:05:41 -0400 Subject: [PATCH] Fix precip interpolation (If Ediolon reads this, I'm pretty sure this one is Ring Racers only) --- src/p_mobj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 1fa1e0b92..aedf37ad2 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -3812,12 +3812,11 @@ void P_NullPrecipThinker(precipmobj_t *mobj) { //(void)mobj; mobj->precipflags &= ~PCF_THUNK; + R_ResetPrecipitationMobjInterpolationState(mobj); } void P_PrecipThinker(precipmobj_t *mobj) { - R_ResetPrecipitationMobjInterpolationState(mobj); - P_CycleStateAnimation((mobj_t *)mobj); if (mobj->state == &states[S_RAINRETURN]) @@ -3827,6 +3826,7 @@ void P_PrecipThinker(precipmobj_t *mobj) mobj->z = mobj->ceilingz; mobj->momz = -mobj->info->speed; mobj->precipflags &= ~PCF_SPLASH; + R_ResetPrecipitationMobjInterpolationState(mobj); } if (mobj->tics != -1)