diff options
author | aap <aap@papnet.eu> | 2020-05-18 16:40:30 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-18 16:40:30 +0200 |
commit | 9b09aa3384213dab45db023d95487096e64ad5c6 (patch) | |
tree | d6df92a097a0c2930abb548d0d80928944cb16b1 /src/vehicles | |
parent | d4a429d986908a36618fc58b52db87d5752fde20 (diff) |
fixes for braking and cloud rotation at high fps
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index 5dc7bc72..f85f0d50 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -514,6 +514,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 } } |