2019-06-30 06:59:55 -04:00
|
|
|
#include "common.h"
|
|
|
|
#include "patcher.h"
|
|
|
|
#include "Plane.h"
|
|
|
|
|
|
|
|
CPlane::CPlane(int mi, uint8 owner)
|
|
|
|
{
|
|
|
|
ctor(mi, owner);
|
|
|
|
}
|
|
|
|
|
|
|
|
WRAPPER CPlane* CPlane::ctor(int, uint8) { EAXJMP(0x54B170); }
|
|
|
|
|
|
|
|
CPlane::~CPlane()
|
|
|
|
{
|
|
|
|
DeleteRwObject();
|
|
|
|
}
|
|
|
|
|
2019-07-08 02:46:42 -04:00
|
|
|
class CPlane_ : public CPlane
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void dtor(void) { CPlane::~CPlane(); }
|
|
|
|
};
|
|
|
|
|
2019-06-30 06:59:55 -04:00
|
|
|
STARTPATCHES
|
2019-07-08 02:46:42 -04:00
|
|
|
InjectHook(0x54B270, &CPlane_::dtor, PATCH_JUMP);
|
|
|
|
ENDPATCHES
|