diff --git a/saco/cmdprocs.cpp b/saco/cmdprocs.cpp index 7d40c08..f48a3e5 100644 --- a/saco/cmdprocs.cpp +++ b/saco/cmdprocs.cpp @@ -165,7 +165,7 @@ void cmdSetFrameLimit(PCHAR szCmd) unsigned int uiLimit = atoi(szCmd); if(uiLimit >= 20 && uiLimit <= 90) { - pGame->SetFrameLimiter(uiLimit); + pGame->SetFrameLimit(uiLimit); if(pConfig) pConfig->SetIntVariable("fpslimit", uiLimit); pChatWindow->AddInfoMessage("-> Frame Limiter: %u", uiLimit); } @@ -378,7 +378,7 @@ void cmdSetWeather(PCHAR szCmd) pChatWindow->AddDebugMessage("Usage: set_weather (weather number)"); return; } - pGame->SetWeather(atoi(szCmd)); + pGame->SetWorldWeather(atoi(szCmd)); } void cmdSetTime(PCHAR szCmd) @@ -396,7 +396,7 @@ void cmdSetTime(PCHAR szCmd) } else { - pGame->SetTime(iHour, iMinute); + pGame->SetWorldTime(iHour, iMinute); } } diff --git a/saco/game/game.h b/saco/game/game.h index 10adfd6..a0fd7e6 100644 --- a/saco/game/game.h +++ b/saco/game/game.h @@ -56,9 +56,6 @@ public: void InitGame(); BOOL IsGameLoaded(); - void SetTime(int iHour, int iMinute); // .text:100A0AB0 - void SetWeather(int iWeather); // .text:100A0B40 - void SetFrameLimiter(int iLimit); // .text:100A0BB0 void RequestModel(int iModelID, int iLoadingStream = 2); void LoadRequestedModels();