diff options
author | aap <aap@papnet.eu> | 2019-06-30 23:31:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-30 23:31:57 +0200 |
commit | f4cf98174c9995ce8f9b916a80b2aa81bc69bba4 (patch) | |
tree | 2b629178b15fc7c46f3128efeb815ac05c65d044 /src/entities/Automobile.cpp | |
parent | little cleanup (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar.gz re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar.bz2 re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar.lz re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar.xz re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.tar.zst re3-f4cf98174c9995ce8f9b916a80b2aa81bc69bba4.zip |
Diffstat (limited to 'src/entities/Automobile.cpp')
-rw-r--r-- | src/entities/Automobile.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/Automobile.cpp b/src/entities/Automobile.cpp index e74013be..54eed17a 100644 --- a/src/entities/Automobile.cpp +++ b/src/entities/Automobile.cpp @@ -10,6 +10,8 @@ CAutomobile::CAutomobile(int mi, uint8 owner) WRAPPER CAutomobile* CAutomobile::ctor(int, uint8) { EAXJMP(0x52C6B0); } WRAPPER void CAutomobile::SetDoorDamage(int32, uint32, bool) { EAXJMP(0x530200); } +WRAPPER void CAutomobile::SetPanelDamage(int32, uint32, bool) { EAXJMP(0x5301A0); } +WRAPPER void CAutomobile::SetBumperDamage(int32, uint32, bool) { EAXJMP(0x530120); } STARTPATCHES InjectHook(0x52D170, &CAutomobile::dtor, PATCH_JUMP); |