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










                                                            





                                         
            

                                                        
#include "common.h"
#include "patcher.h"
#include "Boat.h"

CBoat::CBoat(int mi, uint8 owner)
{
	ctor(mi, owner);
}

WRAPPER CBoat* CBoat::ctor(int, uint8) { EAXJMP(0x53E3E0); }

class CBoat_ : public CBoat
{
public:
	void dtor() { CBoat::~CBoat(); };
};

STARTPATCHES
	InjectHook(0x53E790, &CBoat_::dtor, PATCH_JUMP);
ENDPATCHES