mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-01 12:43:33 +00:00
Remove drift when hitting 0 speed
Prevents silliness like this: https://cdn.discordapp.com/attachments/275750804227489794/688515983471804455/kart0027.gif
This commit is contained in:
parent
219d4aebf2
commit
ed9919d47c
1 changed files with 1 additions and 1 deletions
|
|
@ -5854,7 +5854,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
player->kartstuff[k_driftend] = 0;
|
||||
}
|
||||
|
||||
if (player->kartstuff[k_spinouttimer] > 0)
|
||||
if (player->kartstuff[k_spinouttimer] > 0 || player->speed == 0)
|
||||
{
|
||||
// Stop drifting
|
||||
player->kartstuff[k_drift] = player->kartstuff[k_driftcharge] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue