From 67e1e9aab3b9c6441eeeb72fe21593781e2b408a Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Sat, 22 Sep 2018 19:03:38 -0400 Subject: [PATCH] Set nogravity on landing Means you can't have a finishline that moves up and down, but eh, thinking this might help the fallback measure disappearing --- 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 9dee0bef6..97cd57f01 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -8296,9 +8296,9 @@ void P_MobjThinker(mobj_t *mobj) P_SetMobjState(mobj, S_SIGN_END); if (mobj->info->attacksound) S_StartSound(mobj, mobj->info->attacksound); - mobj->z = mobj->movefactor; - //mobj->flags |= MF_NOGRAVITY; // ? + mobj->flags |= MF_NOGRAVITY; // ? mobj->flags &= ~MF_NOCLIPHEIGHT; + mobj->z = mobj->movefactor; mobj->movecount = 0; } else