mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Stop sliptides midair
This commit is contained in:
parent
9ed05b5c21
commit
fc821b7e8f
1 changed files with 8 additions and 0 deletions
|
|
@ -9279,6 +9279,7 @@ static waypoint_t *K_GetPlayerNextWaypoint(player_t *player)
|
|||
{
|
||||
updaterespawn = true;
|
||||
player->pflags &= ~PF_UPDATEMYRESPAWN;
|
||||
CONS_Printf("%d: Forced waypoint update\n", leveltime);
|
||||
}
|
||||
|
||||
// Respawn point should only be updated when we're going to a nextwaypoint
|
||||
|
|
@ -10145,6 +10146,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)
|
||||
|| (keepsliptide))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue