Fixed issue where holding spin when going into a non-horizontal spring would use your whirlwind shield ability immediately.

This commit is contained in:
toasterbabe 2016-09-30 14:33:15 +01:00
parent aa4fca0339
commit a694ebc348
1 changed files with 2 additions and 1 deletions

View File

@ -3952,7 +3952,8 @@ static void P_DoJumpStuff(player_t *player, ticcmd_t *cmd)
else if (onground || player->climbing || (player->mo->tracer && player->powers[pw_carry]))
{}
else if ((player->powers[pw_shield] & SH_NOSTACK) == SH_JUMP
&& !(player->pflags & PF_JUMPED))
&& !(player->pflags & PF_JUMPED)
&& !(player->pflags & PF_USEDOWN))
P_DoJumpShield(player);
else if (!(player->pflags & PF_SLIDING) && ((gametype != GT_CTF) || (!player->gotflag)))
{