mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't black flash after ebrake in Race
This commit is contained in:
parent
71b9c5358e
commit
064757c450
1 changed files with 4 additions and 1 deletions
|
|
@ -8704,7 +8704,10 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
|
||||
if (K_PressingEBrake(player) == true)
|
||||
{
|
||||
player->instaWhipCooldown = INSTAWHIP_DROPGUARD;
|
||||
if (gametyperules & GTR_BUMPERS)
|
||||
player->instaWhipCooldown = INSTAWHIP_DROPGUARD; // Delay whip out of spindash and guard.
|
||||
else
|
||||
player->instaWhipCharge = 0; // Not that important in race, avoid black flash.
|
||||
}
|
||||
|
||||
if (player->instaWhipCooldown)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue