mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-11-21 21:12:29 +01:00
VC: Reset CWeather::StreamAfterRainTimer when restarting
Fixes saves/new game having the "after rain stream" if you load a save after playing in rain
This commit is contained in:
parent
1b3a2dd1fc
commit
8e258b0ac5
@ -2628,6 +2628,7 @@ void Patch_VC_Common()
|
||||
GameVariablesToReset.emplace_back(*get_pattern<bool*>("7D 09 80 3D ? ? ? ? ? 74 32", 2 + 2)); // Free resprays
|
||||
GameVariablesToReset.emplace_back(*get_pattern<int*>("7D 78 A1 ? ? ? ? 05", 2 + 1)); // LastTimeAmbulanceCreated
|
||||
GameVariablesToReset.emplace_back(*get_pattern<int*>("A1 ? ? ? ? 05 ? ? ? ? 39 05 ? ? ? ? 0F 86 ? ? ? ? 8B 15", 1)); // LastTimeFireTruckCreated
|
||||
GameVariablesToReset.emplace_back(*get_pattern<int*>("FF 0D ? ? ? ? EB 15 90", 2)); // CWeather::StreamAfterRainTimer
|
||||
}
|
||||
TXN_CATCH();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user