remove some errors and warnings

This commit is contained in:
rtldg 2021-03-23 03:15:41 +00:00
parent d1e415498e
commit 87c74d329a
2 changed files with 2 additions and 2 deletions

View File

@ -950,7 +950,7 @@ Action ShowRanksMenu(int client, int item)
else
{
char sTranslation[64];
strcopy(sTranslation, sizeof(sTranslation), gA_ChatRankMenuFormatStrings[cache.bPercent][cache.bRanged][cache.iRequire]);
strcopy(sTranslation, sizeof(sTranslation), gA_ChatRankMenuFormatStrings[cache.bPercent?1:0][cache.bRanged?1:0][cache.iRequire]);
if (!cache.bRanged && !cache.bPercent && cache.fFrom == 1.0)
{

View File

@ -1342,7 +1342,7 @@ void DeletePersistentData(int index, persistent_data_t data)
gA_PersistentData.Erase(index);
}
Action Timer_LoadPersistentData(Handle timer, any data)
public Action Timer_LoadPersistentData(Handle timer, any data)
{
LoadPersistentData(data);
return Plugin_Stop;