diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-11-01 13:15:23 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-11-01 13:15:23 +0100 |
commit | 370d693f9db55fb02d05683be580a575418e089e (patch) | |
tree | c96fe92e3b50da154e2d59e7ac7cd5220aaf6295 /src/peds/Ped.cpp | |
parent | overflow fix (diff) | |
download | re3-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 '')
-rw-r--r-- | src/peds/Ped.cpp | 2 |
1 files changed, 1 insertions, 1 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; |