mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'no-midair-wavedash' into 'master'
Stop sliptides midair (resolves #768) Closes #768 See merge request KartKrew/Kart!1635
This commit is contained in:
commit
87bcebb547
1 changed files with 7 additions and 0 deletions
|
|
@ -10151,6 +10151,13 @@ static void K_KartDrift(player_t *player, boolean onground)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (player->airtime > 2) // Arbitrary number. Small discontinuities due to Super Jank shouldn't thrash your handling properties.
|
||||||
|
{
|
||||||
|
player->aizdriftstrat = 0;
|
||||||
|
keepsliptide = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if ((player->aizdriftstrat && !player->drift)
|
if ((player->aizdriftstrat && !player->drift)
|
||||||
|| (keepsliptide))
|
|| (keepsliptide))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue