mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
FuckCarCompletely not fixing panels (SA)
This commit is contained in:
parent
1750fc8af2
commit
cebfa9e9f5
1 changed files with 14 additions and 0 deletions
|
@ -3051,6 +3051,10 @@ void Patch_SA_10()
|
||||||
// Reinit CCarCtrl fields (firetruck and ambulance generation)
|
// Reinit CCarCtrl fields (firetruck and ambulance generation)
|
||||||
ReadCall( 0x53BD5B, orgCarCtrlReInit );
|
ReadCall( 0x53BD5B, orgCarCtrlReInit );
|
||||||
InjectHook(0x53BD5B, CarCtrlReInit_SilentPatch);
|
InjectHook(0x53BD5B, CarCtrlReInit_SilentPatch);
|
||||||
|
|
||||||
|
|
||||||
|
// FuckCarCompletely not fixing panels
|
||||||
|
Nop(0x6C268D, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Patch_SA_11()
|
void Patch_SA_11()
|
||||||
|
@ -3741,6 +3745,10 @@ void Patch_SA_Steam()
|
||||||
InjectHook(0x54DCCB, CarCtrlReInit_SilentPatch);
|
InjectHook(0x54DCCB, CarCtrlReInit_SilentPatch);
|
||||||
|
|
||||||
|
|
||||||
|
// FuckCarCompletely not fixing panels
|
||||||
|
Nop(0x6F5EC1, 3);
|
||||||
|
|
||||||
|
|
||||||
// Fixed police scanner names
|
// Fixed police scanner names
|
||||||
char* pScannerNames = *(char**)0x4F2B83;
|
char* pScannerNames = *(char**)0x4F2B83;
|
||||||
strcpy(pScannerNames + (8*113), "WESTP");
|
strcpy(pScannerNames + (8*113), "WESTP");
|
||||||
|
@ -4259,6 +4267,12 @@ void Patch_SA_NewSteam_Common()
|
||||||
ReadCall( reinit_addr, orgCarCtrlReInit );
|
ReadCall( reinit_addr, orgCarCtrlReInit );
|
||||||
InjectHook(reinit_addr, CarCtrlReInit_SilentPatch_Newsteam);
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue