summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-18 16:43:40 +0200
committeraap <aap@papnet.eu>2020-05-18 16:43:40 +0200
commit68f1c03a85833a0efedf5df52160bca02786ccac (patch)
treebdea8ae67cc6e3a92a8776b15e2bd84ad8bb9a6b /src/vehicles/Vehicle.cpp
parentMerge pull request #557 from Nick007J/miami (diff)
downloadre3-68f1c03a85833a0efedf5df52160bca02786ccac.tar
re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar.gz
re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar.bz2
re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar.lz
re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar.xz
re3-68f1c03a85833a0efedf5df52160bca02786ccac.tar.zst
re3-68f1c03a85833a0efedf5df52160bca02786ccac.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Vehicle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 55f0dd1c..2b0132b2 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -521,6 +521,9 @@ CVehicle::ProcessWheel(CVector &wheelFwd, CVector &wheelRight, CVector &wheelCon
brake = 0.2f * mod_HandlingManager.field_4 / m_fMass;
else
brake = mod_HandlingManager.field_4 / m_fMass;
+#ifdef FIX_BUGS
+ brake *= CTimer::GetTimeStepFix();
+#endif
}
}