diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-03-30 20:10:12 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-03-30 20:10:12 +0300 |
commit | 2607a91d87270709db4303ee8cb9011e2d9146ad (patch) | |
tree | 611cf59f1c46b60908057affe8d86eb9b39a23ad /src/modelinfo/VehicleModelInfo.cpp | |
parent | bb8868eba79e0c6b76ca1e5a397ac20e72937798 (diff) | |
parent | 8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd (diff) |
Merge remote-tracking branch 'origin/master' into MoreLanguages
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); |