[saco] Implement/match CActorPed destructor

This commit is contained in:
RD42 committed 2024-10-24 22:26:18 +08:00
1 parent a4657baccf
commit 546b2cdeef
2 files changed
+8

No files matched your search

+7
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;
+1
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();