diff options
Diffstat (limited to '')
-rw-r--r-- | src/peds/Ped.cpp | 2 | ||||
-rw-r--r-- | src/vehicles/Vehicle.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 0193be4f..03c0bf2c 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -19094,7 +19094,7 @@ CPed::WarpPedIntoCar(CVehicle *car) m_pMyVehicle->RegisterReference((CEntity **) &m_pMyVehicle); m_carInObjective = car; m_carInObjective->RegisterReference((CEntity **) &m_carInObjective); - SetPedState(m_nPedState); + SetPedState(PED_DRIVING); bUsesCollision = false; bIsInTheAir = false; bVehExitWillBeInstant = true; 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); |