mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 23:03:01 +05:00
Impound lot working correctly (saving interesting cars after busted and does not remove them from the impound lot when offscreen)
This commit is contained in:
parent
1e6d0ce958
commit
7fa464818b
1 changed files with 8 additions and 0 deletions
|
@ -2399,6 +2399,14 @@ __forceinline void Patch_SA_10()
|
||||||
//Patch<const void*>(0x4F35E7, &UserTrackExtensions[1].Codec);
|
//Patch<const void*>(0x4F35E7, &UserTrackExtensions[1].Codec);
|
||||||
Patch<BYTE>(0x4F322D, sizeof(UserTrackExtensions));
|
Patch<BYTE>(0x4F322D, sizeof(UserTrackExtensions));
|
||||||
|
|
||||||
|
// Impound garages working correctly
|
||||||
|
InjectHook(0x425179, 0x448990);
|
||||||
|
InjectHook(0x425369, 0x448990);
|
||||||
|
InjectHook(0x425411, 0x448990);
|
||||||
|
|
||||||
|
// Impounding after busted works
|
||||||
|
Nop(0x443292, 5);
|
||||||
|
|
||||||
// Zones fix
|
// Zones fix
|
||||||
InjectHook(0x572130, GetCurrentZoneLockedOrUnlocked, PATCH_JUMP);
|
InjectHook(0x572130, GetCurrentZoneLockedOrUnlocked, PATCH_JUMP);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue