Fixed sp MaxClients not being updated on map changes after load (5160, r=fyren).
Fixed sp MaxClients not being updated on map changes after load (5160, r=fyren).
1.1 --- a/core/PlayerManager.cpp Thu Nov 03 10:03:01 2011 -0400
1.2 +++ b/core/PlayerManager.cpp Fri Nov 04 10:01:28 2011 -0400
1.3 @@ -263,9 +263,9 @@
1.4 memset(m_AuthQueue, 0, sizeof(unsigned int) * (ABSOLUTE_PLAYER_LIMIT + 1));
1.5
1.6 g_NumPlayersToAuth = &m_AuthQueue[0];
1.7 + }
1.8
1.9 - g_PluginSys.SyncMaxClients(m_maxClients);
1.10 - }
1.11 + g_PluginSys.SyncMaxClients(m_maxClients);
1.12
1.13 g_OnMapStarted = true;
1.14