mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Fixed issue where holding spin when going into a non-horizontal spring would use your whirlwind shield ability immediately.
This commit is contained in:
parent
aa4fca0339
commit
a694ebc348
1 changed files with 2 additions and 1 deletions
|
|
@ -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 (onground || player->climbing || (player->mo->tracer && player->powers[pw_carry]))
|
||||||
{}
|
{}
|
||||||
else if ((player->powers[pw_shield] & SH_NOSTACK) == SH_JUMP
|
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);
|
P_DoJumpShield(player);
|
||||||
else if (!(player->pflags & PF_SLIDING) && ((gametype != GT_CTF) || (!player->gotflag)))
|
else if (!(player->pflags & PF_SLIDING) && ((gametype != GT_CTF) || (!player->gotflag)))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue