mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +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
|
#ifdef ESLOPE
|
||||||
// adjust various things based on slope
|
// 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!
|
if (!P_IsObjectOnGround(mo)) { // We fell off at some point? Do the twisty thing!
|
||||||
P_SlopeLaunch(mo);
|
P_SlopeLaunch(mo);
|
||||||
xmove = mo->momx;
|
xmove = mo->momx;
|
||||||
|
|
Loading…
Reference in a new issue