diff --git a/saco/game/game.cpp b/saco/game/game.cpp index a6808ea..f567162 100644 --- a/saco/game/game.cpp +++ b/saco/game/game.cpp @@ -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); diff --git a/saco/game/game.h b/saco/game/game.h index cdb4f47..c7ffaff 100644 --- a/saco/game/game.h +++ b/saco/game/game.h @@ -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();