mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement/match CActorPed destructor
This commit is contained in:
parent
a4657baccf
commit
546b2cdeef
@ -34,6 +34,13 @@ CActorPed::CActorPed(int iSkin, float fX, float fY,float fZ,float fRotation)
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
CActorPed::~CActorPed()
|
||||
{
|
||||
Destroy();
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CActorPed::Destroy()
|
||||
{
|
||||
DWORD dwPedPtr = (DWORD)m_pPed;
|
||||
|
@ -9,6 +9,7 @@ public:
|
||||
|
||||
// Constructor/Destructor.
|
||||
CActorPed(int iSkin, float fPosX, float fPosY, float fPosZ, float fRotation = 0.0f);
|
||||
virtual ~CActorPed();
|
||||
|
||||
void Destroy();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user