Backed out changeset: 9007dacc012d

This commit is contained in:
Nicholas Hastings 2011-07-08 07:53:31 -04:00
parent ae10bc6601
commit 8015d1827c

View File

@ -190,15 +190,12 @@ void CHookManager::OnPluginLoaded(IPlugin *plugin)
PRCH_used = true;
if (playerhelpers->IsServerActivated())
int MaxClients = playerhelpers->GetMaxClients();
for (int i = 1; i <= MaxClients; i++)
{
int MaxClients = playerhelpers->GetMaxClients();
for (int i = 1; i <= MaxClients; i++)
if (playerhelpers->GetGamePlayer(i)->IsInGame())
{
if (playerhelpers->GetGamePlayer(i)->IsInGame())
{
OnClientPutInServer(i);
}
OnClientPutInServer(i);
}
}
}