mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Disable Rhythm Badge in painstates
This commit is contained in:
parent
79eb400f49
commit
71b9c5358e
1 changed files with 11 additions and 2 deletions
13
src/k_kart.c
13
src/k_kart.c
|
|
@ -11581,9 +11581,18 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
|
||||
if (K_PowerUpRemaining(player, POWERUP_BADGE))
|
||||
{
|
||||
if (P_PlayerInPain(player))
|
||||
{
|
||||
releasedwhip = false;
|
||||
player->instaWhipCharge = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
releasedwhip = (ATTACK_IS_DOWN && player->rings <= 0 && player->itemflags & IF_USERINGS);
|
||||
player->instaWhipCharge = INSTAWHIP_CHARGETIME;
|
||||
}
|
||||
|
||||
chargingwhip = false;
|
||||
releasedwhip = (ATTACK_IS_DOWN && player->rings <= 0 && player->itemflags & IF_USERINGS);
|
||||
player->instaWhipCharge = INSTAWHIP_CHARGETIME;
|
||||
player->instaWhipCooldown = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue