core/PlayerManager.cpp
changeset 3281 f1f9c27d290b
parent 3213 c5c902f414b9
child 3335 b5969264060e
     1.1 --- a/core/PlayerManager.cpp	Wed May 25 08:27:27 2011 -0400
     1.2 +++ b/core/PlayerManager.cpp	Wed May 25 08:31:12 2011 -0400
     1.3 @@ -235,7 +235,10 @@
     1.4  	if (!m_FirstPass)
     1.5  	{
     1.6  		/* Initialize all players */
     1.7 -		m_maxClients = clientMax;
     1.8 +
     1.9 +		// clientMax will not necessarily be correct here (such as on late SourceTV enable)
    1.10 +		m_maxClients = gpGlobals->maxClients;
    1.11 +
    1.12  		m_PlayerCount = 0;
    1.13  		m_Players = new CPlayer[ABSOLUTE_PLAYER_LIMIT + 1];
    1.14  		m_AuthQueue = new unsigned int[ABSOLUTE_PLAYER_LIMIT + 1];