summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/VehicleModelInfo.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-29 19:12:53 +0200
committerGitHub <noreply@github.com>2020-03-29 19:12:53 +0200
commit8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd (patch)
treee086c6d1056146aa7b986e602a6dc00bd4db3632 /src/modelinfo/VehicleModelInfo.cpp
parentMerge pull request #370 from erorcun/erorcun (diff)
parentfixed PS2 build (diff)
downloadre3-8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd.tar
re3-8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd.tar.gz
re3-8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd.tar.bz2
re3-8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd.tar.lz
re3-8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd.tar.xz
re3-8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd.tar.zst
re3-8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd.zip
Diffstat (limited to '')
-rw-r--r--src/modelinfo/VehicleModelInfo.cpp2
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);