2019-05-31 09:44:43 +00:00
|
|
|
#include "common.h"
|
|
|
|
#include "patcher.h"
|
|
|
|
#include "Heli.h"
|
|
|
|
|
2019-06-30 10:59:55 +00:00
|
|
|
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); }
|
2019-06-30 10:59:55 +00:00
|
|
|
|
2019-07-08 06:46:42 +00:00
|
|
|
class CHeli_ : public CHeli
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void dtor(void) { CHeli::~CHeli(); }
|
|
|
|
};
|
|
|
|
|
2019-06-30 10:59:55 +00:00
|
|
|
STARTPATCHES
|
2019-07-08 06:46:42 +00:00
|
|
|
InjectHook(0x5474A0, &CHeli_::dtor, PATCH_JUMP);
|
2019-06-30 10:59:55 +00:00
|
|
|
ENDPATCHES
|