From b9a61611c3baa430c74d23800e61cbfba63f93f3 Mon Sep 17 00:00:00 2001 From: Silent Date: Mon, 13 May 2024 21:13:53 +0200 Subject: [PATCH] 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. --- SilentPatchIII/SilentPatchIII.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SilentPatchIII/SilentPatchIII.cpp b/SilentPatchIII/SilentPatchIII.cpp index 0ef67d0..53ed3fb 100644 --- a/SilentPatchIII/SilentPatchIII.cpp +++ b/SilentPatchIII/SilentPatchIII.cpp @@ -1763,6 +1763,13 @@ void Patch_III_Common() Nop(match.get(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(spawn_one_car, 0xEB); + } } BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)