diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-07-03 15:51:33 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-07-03 15:51:33 +0200 |
commit | 15548758ac825e61648fd6adc2fba96256875fac (patch) | |
tree | 486454e661267666b04c6c8e2d2646cb54f0e3ed /src/peds/PlayerPed.cpp | |
parent | Re-enable console for debugging frontend (diff) | |
download | re3-15548758ac825e61648fd6adc2fba96256875fac.tar re3-15548758ac825e61648fd6adc2fba96256875fac.tar.gz re3-15548758ac825e61648fd6adc2fba96256875fac.tar.bz2 re3-15548758ac825e61648fd6adc2fba96256875fac.tar.lz re3-15548758ac825e61648fd6adc2fba96256875fac.tar.xz re3-15548758ac825e61648fd6adc2fba96256875fac.tar.zst re3-15548758ac825e61648fd6adc2fba96256875fac.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/PlayerPed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp index 6613ea1b..fa865aec 100644 --- a/src/peds/PlayerPed.cpp +++ b/src/peds/PlayerPed.cpp @@ -1288,7 +1288,7 @@ CPlayerPed::ProcessControl(void) SetDead(); return; } - if (m_nPedState == PED_DRIVING && m_objective != OBJECTIVE_LEAVE_VEHICLE) { + if (m_nPedState == PED_DRIVING && m_objective != OBJECTIVE_LEAVE_CAR) { if (m_pMyVehicle->IsCar() && ((CAutomobile*)m_pMyVehicle)->Damage.GetDoorStatus(DOOR_FRONT_LEFT) == DOOR_STATUS_SWINGING) { CAnimBlendAssociation *rollDoorAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_CAR_ROLLDOOR); if (!rollDoorAssoc) { |