From 68f1c03a85833a0efedf5df52160bca02786ccac Mon Sep 17 00:00:00 2001 From: aap Date: Mon, 18 May 2020 16:43:40 +0200 Subject: fixes for braking and cloud rotation at high fps --- src/vehicles/Vehicle.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vehicles/Vehicle.cpp') 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 } } -- cgit v1.2.3