summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-02 16:30:00 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-02 16:30:00 +0100
commitcdb65e9ced68f344df6b586012042550eda5bb39 (patch)
tree79423f1d7a042ab8f403d2e33ebc7a819ddeae1a /src
parentVehicle: Automobile: fixes and style things (diff)
downloadre3-cdb65e9ced68f344df6b586012042550eda5bb39.tar
re3-cdb65e9ced68f344df6b586012042550eda5bb39.tar.gz
re3-cdb65e9ced68f344df6b586012042550eda5bb39.tar.bz2
re3-cdb65e9ced68f344df6b586012042550eda5bb39.tar.lz
re3-cdb65e9ced68f344df6b586012042550eda5bb39.tar.xz
re3-cdb65e9ced68f344df6b586012042550eda5bb39.tar.zst
re3-cdb65e9ced68f344df6b586012042550eda5bb39.zip
Diffstat (limited to '')
-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 eba9c596..b02d1152 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -531,9 +531,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.fWheelFriction / pHandling->m_fMass;
+ brake = 0.2f * mod_HandlingManager.fWheelFriction / pHandling->fMass;
else
- brake = mod_HandlingManager.fWheelFriction / pHandling->m_fMass;
+ brake = mod_HandlingManager.fWheelFriction / pHandling->fMass;
#ifdef FIX_BUGS
brake *= CTimer::GetTimeStepFix();
#endif