mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
[saco] Implement CGame::IsGameLoaded()
This commit is contained in:
parent
0bd8c87f21
commit
1649a5c975
@ -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()
|
DWORD CGame::GetD3DDevice()
|
||||||
|
@ -35,6 +35,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
BOOL IsGameLoaded();
|
||||||
|
|
||||||
void SetGravity(float fGravity);
|
void SetGravity(float fGravity);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user