From 3304bc2f3a1dab6e43e84e3648e3e8ad528e0086 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 12 May 2009 17:26:39 -0400 Subject: [PATCH] Backed out changeset 97d5f4dbae0b --- core/PlayerManager.cpp | 5 ----- extensions/clientprefs/cookie.h | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/core/PlayerManager.cpp b/core/PlayerManager.cpp index afdd3991..d3b72bf9 100644 --- a/core/PlayerManager.cpp +++ b/core/PlayerManager.cpp @@ -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; diff --git a/extensions/clientprefs/cookie.h b/extensions/clientprefs/cookie.h index 22fd26a9..8fe2376e 100644 --- a/extensions/clientprefs/cookie.h +++ b/extensions/clientprefs/cookie.h @@ -139,7 +139,7 @@ public: private: KTrie cookieTrie; - SourceHook::List clientData[MAXCLIENTS+1]; + SourceHook::List clientData[MAXCLIENTS]; bool connected[MAXCLIENTS+1]; bool statsLoaded[MAXCLIENTS+1];