diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-30 12:59:55 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-30 12:59:55 +0200 |
commit | e2bd3573b4d44b8f80197d8de98fcfc91e2229b8 (patch) | |
tree | 7e3436ed3945245fca67127d00e0ccfee6d31239 /src/entities/Entity.cpp | |
parent | ProcessCarUpdate (diff) | |
download | re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar.gz re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar.bz2 re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar.lz re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar.xz re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar.zst re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.zip |
Diffstat (limited to 'src/entities/Entity.cpp')
-rw-r--r-- | src/entities/Entity.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp index e9b35cd5..a5fbe92d 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -449,6 +449,8 @@ CEntity::PruneReferences(void) STARTPATCHES InjectHook(0x473C30, &CEntity::ctor, PATCH_JUMP); + InjectHook(0x473E40, &CEntity::dtor, PATCH_JUMP); + InjectHook(0x473E70, &CEntity::SetModelIndex_, PATCH_JUMP); InjectHook(0x4742C0, (void (CEntity::*)(CVector&))&CEntity::GetBoundCentre, PATCH_JUMP); InjectHook(0x474310, &CEntity::GetBoundRadius, PATCH_JUMP); InjectHook(0x474C10, &CEntity::GetIsTouching, PATCH_JUMP); |