diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-19 15:54:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 15:54:05 +0200 |
commit | f9ed50e17813d2a6708a6516e18041c7482a7462 (patch) | |
tree | e8d1312d1e2a9706793ac781271fedc73db91624 /src/peds/CopPed.cpp | |
parent | Fix savename buffer overflow (diff) | |
parent | Struct cleanup, various fixes, enable PS2 rand (diff) | |
download | re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar.gz re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar.bz2 re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar.lz re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar.xz re3-f9ed50e17813d2a6708a6516e18041c7482a7462.tar.zst re3-f9ed50e17813d2a6708a6516e18041c7482a7462.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()) { |