summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-01 10:56:15 +0200
committeraap <aap@papnet.eu>2020-06-01 10:56:15 +0200
commitde1018d7a6e2fd6d021a70af1bac7e1067cfc406 (patch)
tree79298dbd1299905cf405ef07b2eb8f697afdabeb /src/vehicles/Automobile.cpp
parentfixed bumper colmodel (diff)
downloadre3-de1018d7a6e2fd6d021a70af1bac7e1067cfc406.tar
re3-de1018d7a6e2fd6d021a70af1bac7e1067cfc406.tar.gz
re3-de1018d7a6e2fd6d021a70af1bac7e1067cfc406.tar.bz2
re3-de1018d7a6e2fd6d021a70af1bac7e1067cfc406.tar.lz
re3-de1018d7a6e2fd6d021a70af1bac7e1067cfc406.tar.xz
re3-de1018d7a6e2fd6d021a70af1bac7e1067cfc406.tar.zst
re3-de1018d7a6e2fd6d021a70af1bac7e1067cfc406.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Automobile.cpp2
1 files changed, 1 insertions, 1 deletions
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();