summaryrefslogtreecommitdiffstats
path: root/src/peds/CopPed.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-19 16:38:48 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-19 16:38:48 +0200
commitdf376a13ea8dac7ecff2aabe7d715774bcc7c294 (patch)
treedc4c0230c14bce31044813c8dc4048a837c0c278 /src/peds/CopPed.cpp
parent1.1 patch stuff (diff)
parentMerge pull request #474 from Nick007J/master (diff)
downloadre3-df376a13ea8dac7ecff2aabe7d715774bcc7c294.tar
re3-df376a13ea8dac7ecff2aabe7d715774bcc7c294.tar.gz
re3-df376a13ea8dac7ecff2aabe7d715774bcc7c294.tar.bz2
re3-df376a13ea8dac7ecff2aabe7d715774bcc7c294.tar.lz
re3-df376a13ea8dac7ecff2aabe7d715774bcc7c294.tar.xz
re3-df376a13ea8dac7ecff2aabe7d715774bcc7c294.tar.zst
re3-df376a13ea8dac7ecff2aabe7d715774bcc7c294.zip
Diffstat (limited to 'src/peds/CopPed.cpp')
-rw-r--r--src/peds/CopPed.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/CopPed.cpp b/src/peds/CopPed.cpp
index 63811eae..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,7 +668,7 @@ CCopPed::ProcessControl(void)
}
if (bDuckAndCover) {
-#ifndef GTA3_1_1_PATCH
+#if !defined(GTA3_1_1_PATCH) && !defined(VC_PED_PORTS)
if (!bNotAllowedToDuck && Seek()) {
SetMoveState(PEDMOVE_STILL);
SetMoveAnim();