summaryrefslogblamecommitdiffstats
path: root/src/vehicles/Heli.cpp
blob: d43e8c19a3349445ad51301f380474fd45157182 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                    





                                                            
                                                                    
 





                                            
            
                                                        
          
#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); }
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