Remove PF_SPINNING when jumping if you have SF_NOJUMPDAMAGE
This commit is contained in:
parent
7b05ffd92d
commit
ea7e06a616
|
@ -4525,6 +4525,8 @@ 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);;
|
||||||
|
|
||||||
|
if (!(player->charflags & SF_NOJUMPDAMAGE))
|
||||||
player->pflags &= ~PF_SPINNING;
|
player->pflags &= ~PF_SPINNING;
|
||||||
|
|
||||||
if (soundandstate)
|
if (soundandstate)
|
||||||
|
|
Loading…
Reference in a new issue