mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Fixed MORE problems with landing on slopes.
This commit is contained in:
parent
accd8bc5bd
commit
34d56561e4
1 changed files with 4 additions and 1 deletions
|
@ -3216,8 +3216,11 @@ static void P_PlayerZMovement(mobj_t *mo)
|
|||
}
|
||||
else if ((mo->player->powers[pw_shield] & SH_FORCE) == SH_FORCE) // Force shield's dodge dash.
|
||||
{
|
||||
P_SetPlayerMobjState(mo, S_PLAY_WALK);
|
||||
mo->flags &= ~MF_NOGRAVITY;
|
||||
mo->player->pflags &= ~PF_FULLSTASIS;
|
||||
mo->player->pflags &= ~(PF_FULLSTASIS|PF_SPINNING);
|
||||
mo->momx >>= 3;
|
||||
mo->momy >>= 3;
|
||||
}
|
||||
}
|
||||
mo->player->pflags &= ~(PF_THOKKED|PF_CANCARRY|PF_SHIELDABILITY/*|PF_GLIDING*/);
|
||||
|
|
Loading…
Reference in a new issue