Fix flat slopes eating jumps

This commit is contained in:
RedEnchilada 2015-05-21 15:49:26 -05:00
parent e24595ed52
commit f23f5d4379

View file

@ -2152,7 +2152,7 @@ void P_XYMovement(mobj_t *mo)
#ifdef ESLOPE
// adjust various things based on slope
if (mo->standingslope) {
if (mo->standingslope && abs(mo->standingslope->zdelta) > FRACUNIT>>8) {
if (!P_IsObjectOnGround(mo)) { // We fell off at some point? Do the twisty thing!
P_SlopeLaunch(mo);
xmove = mo->momx;