diff options
author | aap <aap@papnet.eu> | 2020-05-19 13:09:20 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-19 13:09:20 +0200 |
commit | 0d0f4da27ad982c5281f5949c22cb62593e2aab9 (patch) | |
tree | 805c36ec1f0023c34d95af13897c8cc8e44de69d /src/vehicles/Vehicle.cpp | |
parent | script fix (diff) | |
download | re3-0d0f4da27ad982c5281f5949c22cb62593e2aab9.tar re3-0d0f4da27ad982c5281f5949c22cb62593e2aab9.tar.gz re3-0d0f4da27ad982c5281f5949c22cb62593e2aab9.tar.bz2 re3-0d0f4da27ad982c5281f5949c22cb62593e2aab9.tar.lz re3-0d0f4da27ad982c5281f5949c22cb62593e2aab9.tar.xz re3-0d0f4da27ad982c5281f5949c22cb62593e2aab9.tar.zst re3-0d0f4da27ad982c5281f5949c22cb62593e2aab9.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 6646f7f3..0dd95faf 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -521,9 +521,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 |