From 02c7cbc75f0451e87bff0a9d5469fe057432769c Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Mon, 1 Jul 2019 00:15:34 +0300 Subject: Completed CReplay --- src/entities/Automobile.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/entities/Automobile.cpp') 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); -- cgit v1.2.3