1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-06-26 05:27:36 +00:00
re3/src/vehicles/Boat.cpp

21 lines
330 B
C++

#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