summaryrefslogtreecommitdiff
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-19 09:06:43 +0100
committeraap <aap@papnet.eu>2021-01-19 09:06:43 +0100
commitc295981c5ab4c85107a04ebaa637663e5acfbf45 (patch)
tree6d45cd10359c17a0a6b2f3dbfca6abbf91ef4491 /src/vehicles
parent776693235cf38395a4664f3df90c9d2d00e09513 (diff)
fix handbrake
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp2
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();