mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 03:33: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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user