From 90fdc4328b2aa9dc59fdb88115b0f308affc456f Mon Sep 17 00:00:00 2001 From: aap Date: Sun, 26 Jul 2020 23:41:01 +0200 Subject: CHeli and CRopes done --- src/peds/CopPed.cpp | 1 + src/peds/CopPed.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/peds') 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; -- cgit v1.2.3