[saco] Match CGame::SetWorldWeather(...)

This commit is contained in:
RD42 2024-07-29 23:08:56 +08:00
parent 79ae0f4f1f
commit 52da6c73c1

View File

@ -492,12 +492,13 @@ BOOL CGame::IsModelLoaded(int iModelID)
}
//-----------------------------------------------------------
// MATCH
void CGame::SetWorldWeather(int iWeatherID)
{
*(DWORD*)(0xC81318) = iWeatherID;
if(!field_69) {
if(field_69) {
*(DWORD*)(0xC81318) = iWeatherID;
} else {
*(DWORD*)(0xC81318) = iWeatherID;
*(DWORD*)(0xC8131C) = iWeatherID;
*(DWORD*)(0xC81320) = iWeatherID;
}