summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-11-01 20:35:46 +0100
committerRoman Masanin <36927roma@gmail.com>2020-11-01 20:35:46 +0100
commit55c43466100e4e79af95500f64513c49d7242877 (patch)
tree2376e54398c53697c07bd6809b9648d561516881 /src/vehicles/Vehicle.cpp
parentFix build and use enum in ProcessPlayerMood (diff)
parentfixed KYFC (diff)
downloadre3-55c43466100e4e79af95500f64513c49d7242877.tar
re3-55c43466100e4e79af95500f64513c49d7242877.tar.gz
re3-55c43466100e4e79af95500f64513c49d7242877.tar.bz2
re3-55c43466100e4e79af95500f64513c49d7242877.tar.lz
re3-55c43466100e4e79af95500f64513c49d7242877.tar.xz
re3-55c43466100e4e79af95500f64513c49d7242877.tar.zst
re3-55c43466100e4e79af95500f64513c49d7242877.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 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);