summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-19 19:54:10 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-19 19:54:10 +0200
commit41d7b3244b293a2d24f1d80ccd678f005f9bb443 (patch)
treef8f9dc662931bc78b9ec8243451d9deb3ac169ef /src/vehicles/Vehicle.cpp
parentscript revision (diff)
parentMerge pull request #564 from Xinerki/miami (diff)
downloadre3-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.cpp4
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