mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-24 17:02:35 +00:00
Properly compatlevel leniency_base
This commit is contained in:
parent
96fab61da1
commit
447f95196c
1 changed files with 8 additions and 0 deletions
|
|
@ -2349,9 +2349,17 @@ static void P_UpdatePlayerAngle(player_t *player)
|
|||
leniency_base = 4 * ANG1 / 3;
|
||||
}
|
||||
else
|
||||
{
|
||||
leniency_base = 8 * ANG1 / 3;
|
||||
}
|
||||
|
||||
// Gross. Take a look at sliptide starts properly for 2.4.
|
||||
// Yell at Tyron!
|
||||
if (G_CompatLevel(0x000C))
|
||||
{
|
||||
leniency_base = 6 * ANG1 / 3;
|
||||
}
|
||||
|
||||
angle_t leniency = leniency_base * min(player->cmd.latency, 6);
|
||||
// Don't force another turning tic, just give them the desired angle!
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue