summaryrefslogtreecommitdiffstats
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
parentfix (diff)
downloadre3-c295981c5ab4c85107a04ebaa637663e5acfbf45.tar
re3-c295981c5ab4c85107a04ebaa637663e5acfbf45.tar.gz
re3-c295981c5ab4c85107a04ebaa637663e5acfbf45.tar.bz2
re3-c295981c5ab4c85107a04ebaa637663e5acfbf45.tar.lz
re3-c295981c5ab4c85107a04ebaa637663e5acfbf45.tar.xz
re3-c295981c5ab4c85107a04ebaa637663e5acfbf45.tar.zst
re3-c295981c5ab4c85107a04ebaa637663e5acfbf45.zip
Diffstat (limited to '')
-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();