From cebfa9e9f5d937b265403da45a18671e4786b3eb Mon Sep 17 00:00:00 2001 From: Silent Date: Fri, 10 Mar 2017 23:54:04 +0100 Subject: [PATCH] FuckCarCompletely not fixing panels (SA) --- SilentPatchSA/SilentPatchSA.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/SilentPatchSA/SilentPatchSA.cpp b/SilentPatchSA/SilentPatchSA.cpp index abcae2c..fcda1d8 100644 --- a/SilentPatchSA/SilentPatchSA.cpp +++ b/SilentPatchSA/SilentPatchSA.cpp @@ -3051,6 +3051,10 @@ void Patch_SA_10() // Reinit CCarCtrl fields (firetruck and ambulance generation) ReadCall( 0x53BD5B, orgCarCtrlReInit ); InjectHook(0x53BD5B, CarCtrlReInit_SilentPatch); + + + // FuckCarCompletely not fixing panels + Nop(0x6C268D, 3); } void Patch_SA_11() @@ -3741,6 +3745,10 @@ void Patch_SA_Steam() InjectHook(0x54DCCB, CarCtrlReInit_SilentPatch); + // FuckCarCompletely not fixing panels + Nop(0x6F5EC1, 3); + + // Fixed police scanner names char* pScannerNames = *(char**)0x4F2B83; strcpy(pScannerNames + (8*113), "WESTP"); @@ -4259,6 +4267,12 @@ void Patch_SA_NewSteam_Common() ReadCall( reinit_addr, orgCarCtrlReInit ); InjectHook(reinit_addr, CarCtrlReInit_SilentPatch_Newsteam); } + + // FuckCarCompletely not fixing panels + { + void* panel_addr = get_pattern( "C6 46 04 FA 5E 5B", -3 ); + Nop(panel_addr, 3); + } }