diff options
author | aap <aap@papnet.eu> | 2020-05-19 13:07:12 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-19 13:07:12 +0200 |
commit | 53cdf6ab415eed19090785d24a818b3dc0d08939 (patch) | |
tree | 7b2c90f1eadc61449d7b393985585ff9a408e700 /src/vehicles/Vehicle.cpp | |
parent | Merge pull request #563 from Xinerki/miami (diff) | |
download | re3-53cdf6ab415eed19090785d24a818b3dc0d08939.tar re3-53cdf6ab415eed19090785d24a818b3dc0d08939.tar.gz re3-53cdf6ab415eed19090785d24a818b3dc0d08939.tar.bz2 re3-53cdf6ab415eed19090785d24a818b3dc0d08939.tar.lz re3-53cdf6ab415eed19090785d24a818b3dc0d08939.tar.xz re3-53cdf6ab415eed19090785d24a818b3dc0d08939.tar.zst re3-53cdf6ab415eed19090785d24a818b3dc0d08939.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index 4b36b3d3..a7465a0d 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -528,9 +528,9 @@ CVehicle::ProcessWheel(CVector &wheelFwd, CVector &wheelRight, CVector &wheelCon if(!bBraking){ if(m_fGasPedal < 0.01f){ if(GetModelIndex() == MI_RCBANDIT) - brake = 0.2f * mod_HandlingManager.field_4 / m_fMass; + brake = 0.2f * mod_HandlingManager.fWheelFriction / m_fMass; else - brake = mod_HandlingManager.field_4 / m_fMass; + brake = mod_HandlingManager.fWheelFriction / m_fMass; #ifdef FIX_BUGS brake *= CTimer::GetTimeStepFix(); #endif |