mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-12 17:34:08 +00:00
replaced some ctors; made PreRender call game function
This commit is contained in:
parent
0b384356f9
commit
3b43c09578
5 changed files with 11 additions and 5 deletions
|
@ -339,9 +339,9 @@ CEntity::GetBoundRect(void)
|
|||
return rect;
|
||||
}
|
||||
|
||||
void
|
||||
WRAPPER void
|
||||
CEntity::PreRender(void)
|
||||
{
|
||||
{ EAXJMP(0x474350);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -448,6 +448,7 @@ CEntity::PruneReferences(void)
|
|||
}
|
||||
|
||||
STARTPATCHES
|
||||
InjectHook(0x473C30, &CEntity::ctor, PATCH_JUMP);
|
||||
InjectHook(0x4742C0, (void (CEntity::*)(CVector&))&CEntity::GetBoundCentre, PATCH_JUMP);
|
||||
InjectHook(0x474310, &CEntity::GetBoundRadius, PATCH_JUMP);
|
||||
InjectHook(0x474C10, &CEntity::GetIsTouching, PATCH_JUMP);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue