mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-17 05:48:59 +00:00
25 lines
385 B
C++
25 lines
385 B
C++
#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();
|
|
}
|
|
|
|
class CPlane_ : public CPlane
|
|
{
|
|
public:
|
|
void dtor(void) { CPlane::~CPlane(); }
|
|
};
|
|
|
|
STARTPATCHES
|
|
InjectHook(0x54B270, &CPlane_::dtor, PATCH_JUMP);
|
|
ENDPATCHES
|