mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-26 01:31:49 +01:00
19 lines
298 B
C++
19 lines
298 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();
|
||
|
}
|
||
|
|
||
|
STARTPATCHES
|
||
|
InjectHook(0x54B270, &CPlane::dtor, PATCH_JUMP);
|
||
|
ENDPATCHES
|