From 7041f11987f7a5210b66414fd219ef14d1524cda Mon Sep 17 00:00:00 2001 From: aap Date: Mon, 2 Nov 2020 13:57:51 +0100 Subject: bike bug --- src/vehicles/Bike.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vehicles/Bike.cpp b/src/vehicles/Bike.cpp index 4a4b0516..b260c7d4 100644 --- a/src/vehicles/Bike.cpp +++ b/src/vehicles/Bike.cpp @@ -792,7 +792,7 @@ CBike::ProcessControl(void) CSurfaceTable::GetAdhesionGroup(m_aWheelColPoints[rearLine].surfaceB) == ADHESIVE_SAND) steer *= pBikeHandling->fSlipSteer; f = Asin(Min(steer/SQR(fwdSpeed), 1.0))/DEGTORAD(pHandling->fSteeringLock); - if(m_fSteerAngle < 0.0f && m_fLeanLRAngle < 0.0f && + if(m_fSteerAngle < 0.0f && m_fLeanLRAngle < 0.0f || m_fSteerAngle > 0.0f && m_fLeanLRAngle > 0.0f) f *= 2.0f; f = Min(f, 1.0f); -- cgit v1.2.3