mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
CGarages::RespraysAreFree resetting on new game
This commit is contained in:
parent
adbe057f51
commit
290f0b36cd
1 changed files with 5 additions and 0 deletions
|
@ -1561,6 +1561,11 @@ __forceinline void Patch_SA_10()
|
||||||
// Zones fix
|
// Zones fix
|
||||||
InjectHook(0x572130, GetCurrentZoneLockedOrUnlocked, PATCH_JUMP);
|
InjectHook(0x572130, GetCurrentZoneLockedOrUnlocked, PATCH_JUMP);
|
||||||
|
|
||||||
|
// CGarages::RespraysAreFree resetting on new game
|
||||||
|
Patch<WORD>(0x448BD8, 0x0D89);
|
||||||
|
Patch<bool*>(0x448BDA, *(bool**)0x44AC98);
|
||||||
|
Patch<BYTE>(0x448BDE, 0xC3);
|
||||||
|
|
||||||
// Fixed police scanner names
|
// Fixed police scanner names
|
||||||
char* pScannerNames = *(char**)0x4E72D4;
|
char* pScannerNames = *(char**)0x4E72D4;
|
||||||
strncpy(pScannerNames + (8*113), "WESTP", 8);
|
strncpy(pScannerNames + (8*113), "WESTP", 8);
|
||||||
|
|
Loading…
Reference in a new issue