From 8e258b0ac5c31312ccf3b7244e1e976a78b12e0a Mon Sep 17 00:00:00 2001 From: Silent Date: Sat, 19 Oct 2024 14:33:18 +0200 Subject: [PATCH] VC: Reset CWeather::StreamAfterRainTimer when restarting Fixes saves/new game having the "after rain stream" if you load a save after playing in rain --- SilentPatchVC/SilentPatchVC.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SilentPatchVC/SilentPatchVC.cpp b/SilentPatchVC/SilentPatchVC.cpp index a5f7f83..7d574c7 100644 --- a/SilentPatchVC/SilentPatchVC.cpp +++ b/SilentPatchVC/SilentPatchVC.cpp @@ -2628,6 +2628,7 @@ void Patch_VC_Common() GameVariablesToReset.emplace_back(*get_pattern("7D 09 80 3D ? ? ? ? ? 74 32", 2 + 2)); // Free resprays GameVariablesToReset.emplace_back(*get_pattern("7D 78 A1 ? ? ? ? 05", 2 + 1)); // LastTimeAmbulanceCreated GameVariablesToReset.emplace_back(*get_pattern("A1 ? ? ? ? 05 ? ? ? ? 39 05 ? ? ? ? 0F 86 ? ? ? ? 8B 15", 1)); // LastTimeFireTruckCreated + GameVariablesToReset.emplace_back(*get_pattern("FF 0D ? ? ? ? EB 15 90", 2)); // CWeather::StreamAfterRainTimer } TXN_CATCH();