Add missing demo compatibility check for "drift end kick-out" fix

blame 4c9b9f0e64
This commit is contained in:
James R 2024-05-06 16:06:31 -07:00
parent 8326292a3f
commit dd8777cd7b

View file

@ -10429,8 +10429,16 @@ static INT16 K_GetKartDriftValue(const player_t *player, fixed_t countersteer)
}
#endif
// 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)
{