diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-19 19:54:10 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-19 19:54:10 +0200 |
commit | 41d7b3244b293a2d24f1d80ccd678f005f9bb443 (patch) | |
tree | f8f9dc662931bc78b9ec8243451d9deb3ac169ef /src/vehicles/Vehicle.cpp | |
parent | script revision (diff) | |
parent | Merge pull request #564 from Xinerki/miami (diff) | |
download | re3-41d7b3244b293a2d24f1d80ccd678f005f9bb443.tar re3-41d7b3244b293a2d24f1d80ccd678f005f9bb443.tar.gz re3-41d7b3244b293a2d24f1d80ccd678f005f9bb443.tar.bz2 re3-41d7b3244b293a2d24f1d80ccd678f005f9bb443.tar.lz re3-41d7b3244b293a2d24f1d80ccd678f005f9bb443.tar.xz re3-41d7b3244b293a2d24f1d80ccd678f005f9bb443.tar.zst re3-41d7b3244b293a2d24f1d80ccd678f005f9bb443.zip |
Diffstat (limited to 'src/vehicles/Vehicle.cpp')
-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 90ffed50..58c68a8d 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -529,9 +529,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 |