diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-11-01 20:35:46 +0100 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-11-01 20:35:46 +0100 |
commit | 55c43466100e4e79af95500f64513c49d7242877 (patch) | |
tree | 2376e54398c53697c07bd6809b9648d561516881 /src/vehicles | |
parent | Fix build and use enum in ProcessPlayerMood (diff) | |
parent | fixed KYFC (diff) | |
download | re3-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')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 4 |
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); |