summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-11-01 13:15:23 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-11-01 13:15:23 +0100
commit370d693f9db55fb02d05683be580a575418e089e (patch)
treec96fe92e3b50da154e2d59e7ac7cd5220aaf6295 /src/vehicles
parentoverflow fix (diff)
downloadre3-370d693f9db55fb02d05683be580a575418e089e.tar
re3-370d693f9db55fb02d05683be580a575418e089e.tar.gz
re3-370d693f9db55fb02d05683be580a575418e089e.tar.bz2
re3-370d693f9db55fb02d05683be580a575418e089e.tar.lz
re3-370d693f9db55fb02d05683be580a575418e089e.tar.xz
re3-370d693f9db55fb02d05683be580a575418e089e.tar.zst
re3-370d693f9db55fb02d05683be580a575418e089e.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Vehicle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index cba465b7..f083e0f6 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -1859,9 +1859,9 @@ CVehicle::SetDriver(CPed *driver)
}
if(IsBike())
- ApplyMoveForce(-0.2f*driver->m_fMass * GetUp());
+ ApplyMoveForce(-0.02f*driver->m_fMass * GetUp());
else
- ApplyTurnForce(0.0f, 0.0f, -0.2f*driver->m_fMass,
+ ApplyTurnForce(0.0f, 0.0f, -0.02f*driver->m_fMass,
driver->GetPosition().x - GetPosition().x,
driver->GetPosition().y - GetPosition().y,
0.0f);