mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
III: Don't override the color of the FBI car
FBI cars chasing the player are pure black, while their carcols specifies dark gray with unpainted bumpers. Cars spawned for road blocks, import/export, and resprayed in Pay 'n Spray had this color instead.
This commit is contained in:
parent
e26e1592be
commit
b9a61611c3
1 changed files with 7 additions and 0 deletions
|
@ -1763,6 +1763,13 @@ void Patch_III_Common()
|
||||||
Nop(match.get<void>(2), 3);
|
Nop(match.get<void>(2), 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Don't override the color of the FBI car
|
||||||
|
{
|
||||||
|
auto spawn_one_car = get_pattern("83 7C 24 ? ? 75 0E C6 85", 5);
|
||||||
|
Patch<uint8_t>(spawn_one_car, 0xEB);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
|
|
Loading…
Reference in a new issue