diff options
| author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-02 18:30:00 +0300 |
|---|---|---|
| committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-02 18:30:00 +0300 |
| commit | cdb65e9ced68f344df6b586012042550eda5bb39 (patch) | |
| tree | 79423f1d7a042ab8f403d2e33ebc7a819ddeae1a /src/vehicles/Vehicle.cpp | |
| parent | Vehicle: Automobile: fixes and style things (diff) | |
| download | re3-cdb65e9ced68f344df6b586012042550eda5bb39.tar.gz | |
fix fix
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 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 |
