[saco] Implement/match CGame::GetRwObjectsCount()

This commit is contained in:
RD42 2024-08-14 23:15:59 +08:00
parent 41c2b33744
commit 081294ca2d
2 changed files with 8 additions and 0 deletions

View File

@ -1044,3 +1044,10 @@ DWORD CGame::GetTimeInMilliseconds()
//-----------------------------------------------------------
int CGame::GetRwObjectsCount()
{
return *(int*)0xB71804;
}
//-----------------------------------------------------------

View File

@ -131,6 +131,7 @@ public:
int GetLoadedVehicleModelCount();
void SetTimeInMilliseconds(DWORD dwTimeInMs);
DWORD GetTimeInMilliseconds();
int GetRwObjectsCount();
};
//-----------------------------------------------------------