0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/SRB2.git synced 2025-03-13 06:13:18 +00:00

Merge branch 'whirlybird' into 'next'

Use PF_NOJUMPDAMAGE for whirlwind jump instead of removing jump flags (resolves )

Closes 

See merge request 
This commit is contained in:
sphere 2024-02-25 13:39:17 +00:00
commit 50bdc5f1a5

View file

@ -4977,7 +4977,7 @@ void P_DoJumpShield(player_t *player)
} }
else else
{ {
player->pflags &= ~(PF_JUMPED|PF_NOJUMPDAMAGE); player->pflags |= PF_NOJUMPDAMAGE;
P_SetMobjState(player->mo, S_PLAY_FALL); P_SetMobjState(player->mo, S_PLAY_FALL);
S_StartSound(player->mo, sfx_wdjump); S_StartSound(player->mo, sfx_wdjump);
} }