summaryrefslogblamecommitdiffstats
path: root/src/vehicles/Plane.cpp
blob: 6e30bced684180aedb00ee623f6de9c2747f046c (plain) (tree)


















                                                              
#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