[saco] Repoint the three aliased CGame setters at their real members; the aliases were declared but never defined

This commit is contained in:
ricardoofnl
2026-09-03 03:27:19 +07:00
parent 16b657842e
commit bf8a95cb42
2 changed files with 3 additions and 6 deletions
+3 -3
View File
@@ -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);
}
}