From de1018d7a6e2fd6d021a70af1bac7e1067cfc406 Mon Sep 17 00:00:00 2001 From: aap Date: Mon, 1 Jun 2020 10:56:15 +0200 Subject: [PATCH] gravity --- src/vehicles/Automobile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index bb5a58ec..bb6a6bd6 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -846,7 +846,7 @@ CAutomobile::ProcessControl(void) if(m_aSuspensionSpringRatio[0] < 1.0f || m_aSuspensionSpringRatio[1] < 1.0f || m_aSuspensionSpringRatio[2] < 1.0f || m_aSuspensionSpringRatio[3] < 1.0f) - ApplyTurnForce(-0.008*Min(m_fTurnMass, 2500.0f)*GetUp(), -1.0f*GetForward()); + ApplyTurnForce(-GRAVITY*Min(m_fTurnMass, 2500.0f)*GetUp(), -1.0f*GetForward()); } brake = m_fBrakePedal * pHandling->fBrakeDeceleration * CTimer::GetTimeStep();