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