mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove PF_SPINNING when jumping if you have SF_NOJUMPDAMAGE
This commit is contained in:
parent
21d9e870aa
commit
a60a74e33e
1 changed files with 3 additions and 1 deletions
|
|
@ -4525,6 +4525,8 @@ void P_DoJump(player_t *player, boolean soundandstate)
|
|||
player->mo->eflags &= ~MFE_APPLYPMOMZ;
|
||||
|
||||
player->pflags |= P_GetJumpFlags(player);;
|
||||
|
||||
if (!(player->charflags & SF_NOJUMPDAMAGE))
|
||||
player->pflags &= ~PF_SPINNING;
|
||||
|
||||
if (soundandstate)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue