mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add missing demo compatibility check for "drift end kick-out" fix
blame 4c9b9f0e64
This commit is contained in:
parent
8326292a3f
commit
dd8777cd7b
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