re3/src/vehicles/Heli.cpp

22 lines
402 B
C++
Raw Normal View History

2019-05-31 09:44:43 +00:00
#include "common.h"
#include "patcher.h"
#include "Heli.h"
CHeli::CHeli(int mi, uint8 owner)
{
ctor(mi, owner);
}
WRAPPER CHeli* CHeli::ctor(int, uint8) { EAXJMP(0x547220); }
2019-05-31 09:44:43 +00:00
WRAPPER void CHeli::SpecialHeliPreRender(void) { EAXJMP(0x54AE10); }
class CHeli_ : public CHeli
{
public:
void dtor(void) { CHeli::~CHeli(); }
};
STARTPATCHES
InjectHook(0x5474A0, &CHeli_::dtor, PATCH_JUMP);
ENDPATCHES