mirror of
https://github.com/halpz/re3.git
synced 2025-07-17 15:38:15 +00:00
cleaned up patching of virtual functions; started CAutomobile
This commit is contained in:
@ -14,6 +14,12 @@ CPlane::~CPlane()
|
||||
DeleteRwObject();
|
||||
}
|
||||
|
||||
class CPlane_ : public CPlane
|
||||
{
|
||||
public:
|
||||
void dtor(void) { CPlane::~CPlane(); }
|
||||
};
|
||||
|
||||
STARTPATCHES
|
||||
InjectHook(0x54B270, &CPlane::dtor, PATCH_JUMP);
|
||||
ENDPATCHES
|
||||
InjectHook(0x54B270, &CPlane_::dtor, PATCH_JUMP);
|
||||
ENDPATCHES
|
||||
|
Reference in New Issue
Block a user