mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Repoint the three aliased CGame setters at their real members; the aliases were declared but never defined
This commit is contained in:
+3
-3
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user