More stepping upward fixing ugh

This commit is contained in:
RedEnchilada 2016-08-14 00:03:00 -05:00
parent 758c77fe53
commit 55b8ef9f64
1 changed files with 6 additions and 0 deletions

View File

@ -2373,6 +2373,12 @@ static boolean P_ZMovement(mobj_t *mo)
mo->z = mo->floorz;
#ifdef ESLOPE
if (mo->standingslope) // You're still on the ground; why are we here?
{
mo->momz = 0;
return;
}
P_CheckPosition(mo, mo->x, mo->y); // Sets mo->standingslope correctly
if (((mo->eflags & MFE_VERTICALFLIP) ? tmceilingslope : tmfloorslope) && (mo->type != MT_STEAM))
{