diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-28 18:52:25 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-28 18:52:25 +0100 |
commit | 775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5 (patch) | |
tree | 2832a470b7f2983228875da09ff9ebbf8b944735 /src/modelinfo/VehicleModelInfo.cpp | |
parent | Merge branch 'master' into garages_dev (diff) | |
download | re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.gz re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.bz2 re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.lz re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.xz re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.zst re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.zip |
Diffstat (limited to 'src/modelinfo/VehicleModelInfo.cpp')
-rw-r--r-- | src/modelinfo/VehicleModelInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modelinfo/VehicleModelInfo.cpp b/src/modelinfo/VehicleModelInfo.cpp index 87f01177..42ad635b 100644 --- a/src/modelinfo/VehicleModelInfo.cpp +++ b/src/modelinfo/VehicleModelInfo.cpp @@ -1113,6 +1113,8 @@ public: }; STARTPATCHES + InjectHook(0x427820, &CVehicleModelInfo::SetComponentsToUse, PATCH_JUMP); + InjectHook(0x51FDC0, &CVehicleModelInfo_::DeleteRwObject_, PATCH_JUMP); InjectHook(0x51FCB0, &CVehicleModelInfo_::CreateInstance_, PATCH_JUMP); InjectHook(0x51FC60, &CVehicleModelInfo_::SetClump_, PATCH_JUMP); |