Drain spheres when charging instawhip

This commit is contained in:
AJ Martinez 2024-01-06 01:41:33 -07:00
parent ad48d3ac2c
commit b74cecff59

View file

@ -8456,6 +8456,9 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
if (K_PlayerGuard(player) && !K_PowerUpRemaining(player, POWERUP_BARRIER) && (player->ebrakefor%6 == 0))
player->spheres--;
if (players->instaWhipCharge && !K_PowerUpRemaining(players, POWERUP_BADGE) && leveltime%6 == 0)
player->spheres--;
}
else
{