CChopperMissile::~CChopperMissile

This commit is contained in:
krystalgamer 2024-07-23 17:21:05 +02:00
parent 78cca9d763
commit a3aeed059d
2 changed files with 13 additions and 0 deletions

View File

@ -17,6 +17,18 @@ extern i16 **gTrigNodes;
extern const char *gObjFile;
extern u8 gObjFileRegion;
// @Ok
CChopperMissile::~CChopperMissile(void)
{
this->DeleteFrom(reinterpret_cast<CBody**>(&BaddyList));
if (this->field_10C)
SFX_Stop(this->field_10C);
if (this->field_F8)
delete this->field_F8;
}
// @Ok
INLINE i32 CChopperMissile::GetFinalTargetNode(i32 a2)
{

View File

@ -187,6 +187,7 @@ class CChopperMissile : public CBody
{
public:
EXPORT CChopperMissile(CVector*, CSuper*, i32, i32);
EXPORT virtual ~CChopperMissile(void);
EXPORT i32 GetFinalTargetNode(i32);
EXPORT void CommonInitialisation(void);