mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Fix flat slopes eating jumps
This commit is contained in:
parent
e24595ed52
commit
f23f5d4379
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue