FakeClients: oooops
This commit is contained in:
parent
ae5fc00030
commit
9db8c39b98
@ -158,8 +158,8 @@ public Action RandomizeNames(Handle timer)
|
||||
{
|
||||
int iRand = GetRandomInt(0, hNames.Length - 1);
|
||||
char sName[MAX_NAME_LENGTH];
|
||||
g_hNames.GetString(iRand, sName, sizeof(sName));
|
||||
g_hNames.Erase(iRand);
|
||||
hNames.GetString(iRand, sName, sizeof(sName));
|
||||
hNames.Erase(iRand);
|
||||
SetClientName(i, sName);
|
||||
}
|
||||
}
|
||||
@ -412,7 +412,7 @@ public void CheckPopulation()
|
||||
}
|
||||
|
||||
int iRand = GetRandomInt(0, hNames.Length - 1);
|
||||
g_hNames.GetString(iRand, sName, sizeof(sName));
|
||||
hNames.GetString(iRand, sName, sizeof(sName));
|
||||
delete hNames;
|
||||
|
||||
int iIndex = CreateFakeClient(sName);
|
||||
|
Loading…
Reference in New Issue
Block a user