Merge.
This commit is contained in:
commit
1112dfffb3
@ -1327,11 +1327,6 @@ void PlayerManager::OnSourceModMaxPlayersChanged( int newvalue )
|
|||||||
|
|
||||||
void PlayerManager::MaxPlayersChanged( int newvalue /*= -1*/ )
|
void PlayerManager::MaxPlayersChanged( int newvalue /*= -1*/ )
|
||||||
{
|
{
|
||||||
if (!m_FirstPass)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (newvalue == -1)
|
if (newvalue == -1)
|
||||||
{
|
{
|
||||||
newvalue = gpGlobals->maxClients;
|
newvalue = gpGlobals->maxClients;
|
||||||
|
@ -139,7 +139,7 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
KTrie<Cookie *> cookieTrie;
|
KTrie<Cookie *> cookieTrie;
|
||||||
SourceHook::List<CookieData *> clientData[MAXCLIENTS+1];
|
SourceHook::List<CookieData *> clientData[MAXCLIENTS];
|
||||||
|
|
||||||
bool connected[MAXCLIENTS+1];
|
bool connected[MAXCLIENTS+1];
|
||||||
bool statsLoaded[MAXCLIENTS+1];
|
bool statsLoaded[MAXCLIENTS+1];
|
||||||
|
Loading…
Reference in New Issue
Block a user