summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-04 22:48:25 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-04 22:48:25 +0100
commit6fa081e0042bab470ac91e98a7d14d04decf6028 (patch)
tree202a9bc7cefaf26ec083e85d808fe57d555e92dc /src/vehicles/Vehicle.cpp
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
downloadre3-6fa081e0042bab470ac91e98a7d14d04decf6028.tar
re3-6fa081e0042bab470ac91e98a7d14d04decf6028.tar.gz
re3-6fa081e0042bab470ac91e98a7d14d04decf6028.tar.bz2
re3-6fa081e0042bab470ac91e98a7d14d04decf6028.tar.lz
re3-6fa081e0042bab470ac91e98a7d14d04decf6028.tar.xz
re3-6fa081e0042bab470ac91e98a7d14d04decf6028.tar.zst
re3-6fa081e0042bab470ac91e98a7d14d04decf6028.zip
Diffstat (limited to 'src/vehicles/Vehicle.cpp')
-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 a1154e81..06a545ef 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -1876,7 +1876,7 @@ CVehicle::AddPassenger(CPed *passenger)
int i;
if(IsBike())
- ApplyTurnForce(-0.2f*passenger->m_fMass * GetUp(), -0.1f*GetForward());
+ ApplyTurnForce(-0.02f*passenger->m_fMass * GetUp(), -0.1f*GetForward());
else
ApplyTurnForce(0.0f, 0.0f, -0.2f*passenger->m_fMass,
passenger->GetPosition().x - GetPosition().x,
@@ -1899,7 +1899,7 @@ CVehicle::AddPassenger(CPed *passenger, uint8 n)
return AddPassenger(passenger);
if(IsBike())
- ApplyTurnForce(-0.2f*passenger->m_fMass * GetUp(), -0.1f*GetForward());
+ ApplyTurnForce(-0.02f*passenger->m_fMass * GetUp(), -0.1f*GetForward());
else
ApplyTurnForce(0.0f, 0.0f, -0.2f*passenger->m_fMass,
passenger->GetPosition().x - GetPosition().x,