mirror of
https://github.com/halpz/re3.git
synced 2025-07-20 09:29:46 +00:00
CPopulation done, CCopPed and fixes
This commit is contained in:
@ -16,8 +16,12 @@ class CDummyObject_ : public CDummyObject
|
||||
{
|
||||
public:
|
||||
void dtor(void) { CDummyObject::~CDummyObject(); }
|
||||
CDummyObject *ctor(void) { return ::new (this) CDummyObject(); }
|
||||
CDummyObject *ctor(CObject *obj) { return ::new (this) CDummyObject(obj); }
|
||||
};
|
||||
|
||||
STARTPATCHES
|
||||
InjectHook(0x4BAAF0, (CDummyObject* (CDummyObject::*)(void)) &CDummyObject_::ctor, PATCH_JUMP);
|
||||
InjectHook(0x4BAB10, (CDummyObject* (CDummyObject::*)(CObject*)) &CDummyObject_::ctor, PATCH_JUMP);
|
||||
InjectHook(0x4BAB70, &CDummyObject_::dtor, PATCH_JUMP);
|
||||
ENDPATCHES
|
||||
ENDPATCHES
|
@ -52,7 +52,7 @@ public:
|
||||
int8 field_17D;
|
||||
int8 field_17E;
|
||||
int8 field_17F;
|
||||
int32 m_nEndOfLifeTime;
|
||||
uint32 m_nEndOfLifeTime;
|
||||
int16 m_nRefModelIndex;
|
||||
int8 field_186;
|
||||
int8 field_187;
|
||||
|
Reference in New Issue
Block a user