mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-09 18:10:33 +00:00
Stinger done
This commit is contained in:
parent
b7456c604d
commit
8a0a29c64e
4 changed files with 285 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
#include "Camera.h"
|
||||
#include "PedPlacement.h"
|
||||
#include "Ropes.h"
|
||||
#include "Stinger.h"
|
||||
|
||||
CCopPed::CCopPed(eCopType copType, int32 modifier) : CPed(PEDTYPE_COP)
|
||||
{
|
||||
|
@ -92,6 +93,7 @@ CCopPed::CCopPed(eCopType copType, int32 modifier) : CPed(PEDTYPE_COP)
|
|||
m_nHassleTimer = 0;
|
||||
field_61C = 0;
|
||||
field_624 = 0;
|
||||
m_pStinger = new CStinger;
|
||||
if (m_pPointGunAt)
|
||||
m_pPointGunAt->CleanUpOldReference((CEntity**)&m_pPointGunAt);
|
||||
m_pPointGunAt = nil;
|
||||
|
@ -100,6 +102,8 @@ CCopPed::CCopPed(eCopType copType, int32 modifier) : CPed(PEDTYPE_COP)
|
|||
CCopPed::~CCopPed()
|
||||
{
|
||||
ClearPursuit();
|
||||
m_pStinger->Remove();
|
||||
delete m_pStinger;
|
||||
}
|
||||
|
||||
// --MIAMI: Done
|
||||
|
|
|
@ -30,6 +30,7 @@ public:
|
|||
uintptr m_nRopeID;
|
||||
uint32 m_nHassleTimer;
|
||||
uint32 field_61C;
|
||||
class CStinger *m_pStinger;
|
||||
int32 field_624;
|
||||
int8 field_628;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue