summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-19 13:07:12 +0200
committeraap <aap@papnet.eu>2020-05-19 13:07:12 +0200
commit53cdf6ab415eed19090785d24a818b3dc0d08939 (patch)
tree7b2c90f1eadc61449d7b393985585ff9a408e700 /src/vehicles/Vehicle.cpp
parentMerge pull request #563 from Xinerki/miami (diff)
downloadre3-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 '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 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