From dba2b052a64bc4f468e94fbf078eff7a0cb27ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Tue, 9 Jun 2020 00:56:01 +0300 Subject: Peds, bike center of mass and reversing fixes --- src/peds/CopPed.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/peds/CopPed.cpp') diff --git a/src/peds/CopPed.cpp b/src/peds/CopPed.cpp index ae1f6c61..d2daea42 100644 --- a/src/peds/CopPed.cpp +++ b/src/peds/CopPed.cpp @@ -74,20 +74,18 @@ CCopPed::CCopPed(eCopType copType, int32 modifier) : CPed(PEDTYPE_COP) break; } m_bIsInPursuit = false; - field_1350 = 1; + field_5FE = 1; m_bIsDisabledCop = false; - m_fAbseilPos = 0.0f; m_attackTimer = 0; - m_bBeatingSuspect = false; m_bStopAndShootDisabledZone = false; + field_601 = false; m_bZoneDisabled = false; - field_1364 = -1; + field_628 = -1; + m_nRoadblockNode = -1; // TODO(Miami): this will be nil + field_5FF = 0; + m_fAbseilPos = 0.0f; + m_bBeatingSuspect = false; m_pPointGunAt = nil; - - // VC also initializes in here, but as nil -#ifdef FIX_BUGS - m_nRoadblockNode = -1; -#endif } CCopPed::~CCopPed() -- cgit v1.2.3