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 #771) Closes #771 See merge request STJr/SRB2!1740
This commit is contained in:
commit
50bdc5f1a5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue