mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-15 22:20:34 +00:00
cleaned up patching of virtual functions; started CAutomobile
This commit is contained in:
parent
6ec421fe7b
commit
12af85ca3d
64 changed files with 771 additions and 278 deletions
|
@ -9,6 +9,12 @@ CBoat::CBoat(int mi, uint8 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
|
||||
InjectHook(0x53E790, &CBoat_::dtor, PATCH_JUMP);
|
||||
ENDPATCHES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue