mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Block Rhythm Badge activation when holding items
This commit is contained in:
parent
aad37bbfbb
commit
bb8b308312
1 changed files with 1 additions and 1 deletions
|
|
@ -11581,7 +11581,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||||
if (K_PowerUpRemaining(player, POWERUP_BADGE))
|
if (K_PowerUpRemaining(player, POWERUP_BADGE))
|
||||||
{
|
{
|
||||||
chargingwhip = false;
|
chargingwhip = false;
|
||||||
releasedwhip = (ATTACK_IS_DOWN && player->rings <= 0);
|
releasedwhip = (ATTACK_IS_DOWN && player->rings <= 0 && player->itemflags & IF_USERINGS);
|
||||||
player->instaWhipCharge = INSTAWHIP_CHARGETIME;
|
player->instaWhipCharge = INSTAWHIP_CHARGETIME;
|
||||||
player->instaWhipCooldown = 0;
|
player->instaWhipCooldown = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue