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,7 +4525,9 @@ void P_DoJump(player_t *player, boolean soundandstate)
|
||||||
player->mo->eflags &= ~MFE_APPLYPMOMZ;
|
player->mo->eflags &= ~MFE_APPLYPMOMZ;
|
||||||
|
|
||||||
player->pflags |= P_GetJumpFlags(player);;
|
player->pflags |= P_GetJumpFlags(player);;
|
||||||
player->pflags &= ~PF_SPINNING;
|
|
||||||
|
if (!(player->charflags & SF_NOJUMPDAMAGE))
|
||||||
|
player->pflags &= ~PF_SPINNING;
|
||||||
|
|
||||||
if (soundandstate)
|
if (soundandstate)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue