diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-20 10:12:46 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-20 10:12:46 +0100 |
commit | b1454276ed71fb5560d3f62c3b6feca75eb6410d (patch) | |
tree | 82eb9f30a0a8476281bdba03f779f277cd240424 /src/vehicles/Automobile.cpp | |
parent | Merge branch 'lcs-dev' into lcs (diff) | |
parent | work on colourfilters (diff) | |
download | re3-b1454276ed71fb5560d3f62c3b6feca75eb6410d.tar re3-b1454276ed71fb5560d3f62c3b6feca75eb6410d.tar.gz re3-b1454276ed71fb5560d3f62c3b6feca75eb6410d.tar.bz2 re3-b1454276ed71fb5560d3f62c3b6feca75eb6410d.tar.lz re3-b1454276ed71fb5560d3f62c3b6feca75eb6410d.tar.xz re3-b1454276ed71fb5560d3f62c3b6feca75eb6410d.tar.zst re3-b1454276ed71fb5560d3f62c3b6feca75eb6410d.zip |
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-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(); |