Remove PF_SPINNING when jumping if you have SF_NOJUMPDAMAGE

This commit is contained in:
SMS Alfredo 2020-11-23 09:21:00 -06:00
parent 7b05ffd92d
commit ea7e06a616
1 changed files with 3 additions and 1 deletions

View File

@ -4525,7 +4525,9 @@ void P_DoJump(player_t *player, boolean soundandstate)
player->mo->eflags &= ~MFE_APPLYPMOMZ;
player->pflags |= P_GetJumpFlags(player);;
player->pflags &= ~PF_SPINNING;
if (!(player->charflags & SF_NOJUMPDAMAGE))
player->pflags &= ~PF_SPINNING;
if (soundandstate)
{