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:
Silent 2014-08-01 20:17:44 +02:00
parent 1e6d0ce958
commit 7fa464818b

View File

@ -2399,6 +2399,14 @@ __forceinline void Patch_SA_10()
//Patch<const void*>(0x4F35E7, &UserTrackExtensions[1].Codec);
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
InjectHook(0x572130, GetCurrentZoneLockedOrUnlocked, PATCH_JUMP);