diff options
author | aap <aap@papnet.eu> | 2021-01-19 09:06:43 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-19 09:06:43 +0100 |
commit | c295981c5ab4c85107a04ebaa637663e5acfbf45 (patch) | |
tree | 6d45cd10359c17a0a6b2f3dbfca6abbf91ef4491 /src/vehicles | |
parent | 776693235cf38395a4664f3df90c9d2d00e09513 (diff) |
fix handbrake
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Automobile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 17e93bf7..a0581d5c 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -1345,7 +1345,7 @@ CAutomobile::ProcessCarWheelPair(int leftWheel, int rightWheel, float steerAngle suspensionBias = 2.0f*(1.0f-pHandling->fSuspensionBias); float fwdSpeed = DotProduct(m_vecMoveSpeed, GetForward()); - if(bIsHandbrakeOn && Abs(fwdSpeed) > 0.1f){ + if(bIsHandbrakeOn && Abs(fwdSpeed) > 0.01f){ #ifdef FIX_BUGS // Not sure if this is needed, but brake usually has timestep as a factor brake = 20000.0f * CTimer::GetTimeStepFix(); |