Revert "Fix crash for overfull solo servers: One more team"

This reverts commit 2e8c3cfb66.
This commit is contained in:
def 2013-12-28 16:09:03 +01:00
parent 80b33220bf
commit 5c6ce4585b
2 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@ CGameTeams::CGameTeams(CGameContext *pGameContext) :
void CGameTeams::Reset()
{
m_Core.Reset();
for (int i = 0; i < MAX_CLIENTS + 1; ++i)
for (int i = 0; i < MAX_CLIENTS; ++i)
{
m_TeamState[i] = TEAMSTATE_EMPTY;
m_TeeFinished[i] = false;

View file

@ -7,10 +7,10 @@
class CGameTeams
{
bool m_TeeFinished[MAX_CLIENTS+1];
int m_TeamState[MAX_CLIENTS+1];
int m_MembersCount[MAX_CLIENTS+1];
bool m_TeamLocked[MAX_CLIENTS+1];
int m_TeamState[MAX_CLIENTS];
int m_MembersCount[MAX_CLIENTS];
bool m_TeeFinished[MAX_CLIENTS];
bool m_TeamLocked[MAX_CLIENTS];
class CGameContext * m_pGameContext;