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
This commit is contained in:
TehRealSalt 2018-09-22 19:03:38 -04:00
parent a3b40c7577
commit ad8d674e5e
1 changed files with 2 additions and 2 deletions

View File

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