[saco] Implement/match CGame::SetTimeInMilliseconds(...)

This commit is contained in:
RD42
2024-08-14 23:14:57 +08:00
parent 8495b4eeba
commit 3987cb89b3
2 changed files with 12 additions and 1 deletions
+11 -1
View File
@@ -21,13 +21,13 @@ HWND hWindowHandle;
int unnamed_10150340[210];
IDirectInputDevice8 *pDirectInputMouse;
BYTE unnamed_10150688;
int unnamed_1015068C;
float unnamed_10116718 = 2.0f;
BOOL ApplyPreGamePatches();
bool GLOBAL_101506A4;
typedef void (*DrawZone_t)(float *fPos, DWORD *dwColor, BYTE byteMenu);
@@ -1027,3 +1027,13 @@ int CGame::GetLoadedVehicleModelCount()
//-----------------------------------------------------------
void CGame::SetTimeInMilliseconds(DWORD dwTimeInMs)
{
if(!field_69) {
*(DWORD*)0xB7CB84 = dwTimeInMs & 0x3FFFFFFF;
GLOBAL_101506A4 = true;
}
}
//-----------------------------------------------------------