[saco] Implement/match CActorPed destructor

This commit is contained in:
RD42 2024-10-24 22:26:18 +08:00
parent a4657baccf
commit 546b2cdeef
2 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -9,6 +9,7 @@ public:
// Constructor/Destructor.
CActorPed(int iSkin, float fPosX, float fPosY, float fPosZ, float fRotation = 0.0f);
virtual ~CActorPed();
void Destroy();