diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-04-19 07:14:13 +0300 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-04-19 16:44:35 +0300 |
commit | 1ffc37735ed247eef1f20997a0136ef8d866ebad (patch) | |
tree | a6a4689c7aeed054e397c305333f761d0d4acdd1 /src/peds/CopPed.cpp | |
parent | 9bfcaff84976b2af7242f846c782287e9bacf851 (diff) |
Struct cleanup, various fixes, enable PS2 rand
Diffstat (limited to 'src/peds/CopPed.cpp')
-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()) { |