mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 21:50:48 +00:00
Remove PF_SPINNING when jumping if you have SF_NOJUMPDAMAGE
This commit is contained in:
parent
7b05ffd92d
commit
ea7e06a616
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->pflags |= P_GetJumpFlags(player);;
|
||||
player->pflags &= ~PF_SPINNING;
|
||||
|
||||
if (!(player->charflags & SF_NOJUMPDAMAGE))
|
||||
player->pflags &= ~PF_SPINNING;
|
||||
|
||||
if (soundandstate)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue