mirror of
https://github.com/halpz/re3.git
synced 2025-01-23 06:41:00 +00:00
21 lines
330 B
C++
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
|