mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 11:40:52 +00:00
More stepping upward fixing ugh
This commit is contained in:
parent
758c77fe53
commit
55b8ef9f64
1 changed files with 6 additions and 0 deletions
|
@ -2373,6 +2373,12 @@ static boolean P_ZMovement(mobj_t *mo)
|
||||||
mo->z = mo->floorz;
|
mo->z = mo->floorz;
|
||||||
|
|
||||||
#ifdef ESLOPE
|
#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
|
P_CheckPosition(mo, mo->x, mo->y); // Sets mo->standingslope correctly
|
||||||
if (((mo->eflags & MFE_VERTICALFLIP) ? tmceilingslope : tmfloorslope) && (mo->type != MT_STEAM))
|
if (((mo->eflags & MFE_VERTICALFLIP) ? tmceilingslope : tmfloorslope) && (mo->type != MT_STEAM))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue