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

This commit is contained in:
RD42 2024-08-15 22:24:56 +08:00
parent 4c0a58f35c
commit 03d0aeadf1
2 changed files with 9 additions and 0 deletions

View File

@ -493,6 +493,14 @@ BOOL CGame::IsModelLoaded(int iModelID)
//-----------------------------------------------------------
// MATCH
void CGame::GetWorldTime(BYTE* byteHour, BYTE* byteMinute)
{
*byteMinute = *(PBYTE)0xB70152;
*byteHour = *(PBYTE)0xB70153;
}
//-----------------------------------------------------------
void CGame::ToggleThePassingOfTime(BYTE byteOnOff)
{
UnFuck(0x52CF10,1);

View File

@ -48,6 +48,7 @@ public:
void LoadRequestedModels();
BOOL IsModelLoaded(int iModelID);
void GetWorldTime(BYTE* byteHour, BYTE* byteMinute);
void ToggleThePassingOfTime(BYTE byteOnOff);
void SetWorldWeather(int iWeatherID);
int GetWorldWeather();