summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-07-27 14:49:26 +0200
committerGitHub <noreply@github.com>2020-07-27 14:49:26 +0200
commit5d266ace648fcaf640ed50e4baf8cd4f90d64769 (patch)
tree22408706372df98a5efabc646ca4314ea6909afd /src/peds
parentFix/change some Windows define (diff)
parentCHeli and CRopes done (diff)
downloadre3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar
re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar.gz
re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar.bz2
re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar.lz
re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar.xz
re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.tar.zst
re3-5d266ace648fcaf640ed50e4baf8cd4f90d64769.zip
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/CopPed.cpp1
-rw-r--r--src/peds/CopPed.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/peds/CopPed.cpp b/src/peds/CopPed.cpp
index 86423b0a..dd122477 100644
--- a/src/peds/CopPed.cpp
+++ b/src/peds/CopPed.cpp
@@ -84,6 +84,7 @@ CCopPed::CCopPed(eCopType copType, int32 modifier) : CPed(PEDTYPE_COP)
m_nRoadblockNode = -1; // TODO(Miami): this will be nil
m_bThrowsSpikeTrap = false;
field_5FF = 0;
+ m_pRopeEntity = nil;
m_fAbseilPos = 0.0f;
m_bBeatingSuspect = false;
m_pPointGunAt = nil;
diff --git a/src/peds/CopPed.h b/src/peds/CopPed.h
index 50d8165f..e48984ff 100644
--- a/src/peds/CopPed.h
+++ b/src/peds/CopPed.h
@@ -26,6 +26,8 @@ public:
float m_fAbseilPos;
eCopType m_nCopType;
bool m_bThrowsSpikeTrap;
+ CEntity *m_pRopeEntity; // CHeli or 1
+ uintptr m_nRopeID;
int32 field_624;
int8 field_628;