This commit is contained in:
David Anderson 2009-05-12 17:26:47 -04:00
commit 1112dfffb3
2 changed files with 1 additions and 6 deletions

View File

@ -1327,11 +1327,6 @@ void PlayerManager::OnSourceModMaxPlayersChanged( int newvalue )
void PlayerManager::MaxPlayersChanged( int newvalue /*= -1*/ )
{
if (!m_FirstPass)
{
return;
}
if (newvalue == -1)
{
newvalue = gpGlobals->maxClients;

View File

@ -139,7 +139,7 @@ public:
private:
KTrie<Cookie *> cookieTrie;
SourceHook::List<CookieData *> clientData[MAXCLIENTS+1];
SourceHook::List<CookieData *> clientData[MAXCLIENTS];
bool connected[MAXCLIENTS+1];
bool statsLoaded[MAXCLIENTS+1];