From 2082a372dfe054a18df9bc9d94b4892fe33dffb5 Mon Sep 17 00:00:00 2001 From: toaster Date: Sun, 12 Nov 2023 17:43:48 +0000 Subject: [PATCH] MT_FORWARDTRICK: Don't interp when your sweep returns you to the front of the player --- src/p_mobj.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/p_mobj.c b/src/p_mobj.c index a37758add..a3ce910e4 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -8570,7 +8570,10 @@ static boolean P_MobjRegularThink(mobj_t *mobj) mobj->threshold += FRACUNIT/(7*4); if (mobj->threshold > FRACUNIT) + { mobj->threshold -= FRACUNIT; + mobj->flags2 |= MF2_AMBUSH; + } P_InstaScale(mobj, mobj->target->scale);