diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-04-19 06:14:13 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-04-19 15:44:35 +0200 |
commit | 1ffc37735ed247eef1f20997a0136ef8d866ebad (patch) | |
tree | a6a4689c7aeed054e397c305333f761d0d4acdd1 /src/peds/CopPed.cpp | |
parent | slider fix (diff) | |
download | re3-1ffc37735ed247eef1f20997a0136ef8d866ebad.tar re3-1ffc37735ed247eef1f20997a0136ef8d866ebad.tar.gz re3-1ffc37735ed247eef1f20997a0136ef8d866ebad.tar.bz2 re3-1ffc37735ed247eef1f20997a0136ef8d866ebad.tar.lz re3-1ffc37735ed247eef1f20997a0136ef8d866ebad.tar.xz re3-1ffc37735ed247eef1f20997a0136ef8d866ebad.tar.zst re3-1ffc37735ed247eef1f20997a0136ef8d866ebad.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/CopPed.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/peds/CopPed.cpp b/src/peds/CopPed.cpp index e62743de..81c9fa6e 100644 --- a/src/peds/CopPed.cpp +++ b/src/peds/CopPed.cpp @@ -63,7 +63,7 @@ CCopPed::CCopPed(eCopType copType) : CPed(PEDTYPE_COP) m_bIsInPursuit = false; field_1350 = 1; m_bIsDisabledCop = false; - field_1356 = 0; + m_fAbseilPos = 0.0f; m_attackTimer = 0; m_bBeatingSuspect = false; m_bStopAndShootDisabledZone = false; @@ -668,11 +668,13 @@ CCopPed::ProcessControl(void) } if (bDuckAndCover) { +#if !defined(GTA3_1_1_PATCH) && !defined(VC_PED_PORTS) if (!bNotAllowedToDuck && Seek()) { SetMoveState(PEDMOVE_STILL); SetMoveAnim(); SetPointGunAt(m_pedInObjective); } +#endif } else if (Seek()) { CVehicle *playerVeh = FindPlayerVehicle(); if (!playerVeh && player && player->EnteringCar()) { |