[saco] Implement CGame::IsGameLoaded()

This commit is contained in:
RD42 2024-02-16 22:16:57 +08:00
parent 0bd8c87f21
commit 1649a5c975
2 changed files with 13 additions and 0 deletions

View File

@ -230,6 +230,18 @@ void CGame::sub_100A1C10()
//-----------------------------------------------------------
// Return TRUE if the world has been loaded.
BOOL CGame::IsGameLoaded()
{
if(!(*(PBYTE)ADDR_GAME_STARTED)) return TRUE;
return FALSE;
}
//-----------------------------------------------------------
//-----------------------------------------------------------
DWORD CGame::GetD3DDevice()

View File

@ -35,6 +35,7 @@ private:
public:
BOOL IsGameLoaded();
void SetGravity(float fGravity);