mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-26 08:26:31 +00:00
Merge branch 'fix-handling-desyncs-in-old-replays' into 'master'
Add missing demo compatibility check for "drift end kick-out" fix Closes #1390 See merge request KartKrew/Kart!2370
This commit is contained in:
commit
0a89571225
1 changed files with 9 additions and 1 deletions
10
src/k_kart.c
10
src/k_kart.c
|
|
@ -10429,7 +10429,15 @@ static INT16 K_GetKartDriftValue(const player_t *player, fixed_t countersteer)
|
|||
}
|
||||
#endif
|
||||
|
||||
return basedrift + FixedMul(driftadjust, countersteer);
|
||||
// Compat level for 2.0 staff ghosts
|
||||
if (G_CompatLevel(0x000A))
|
||||
{
|
||||
return basedrift + (FixedMul(driftadjust * FRACUNIT, countersteer) / FRACUNIT);
|
||||
}
|
||||
else
|
||||
{
|
||||
return basedrift + FixedMul(driftadjust, countersteer);
|
||||
}
|
||||
}
|
||||
|
||||
INT16 K_UpdateSteeringValue(INT16 inputSteering, INT16 destSteering)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue