mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Revert "Fix crash for overfull solo servers: One more team"
This reverts commit 2e8c3cfb66
.
This commit is contained in:
parent
80b33220bf
commit
5c6ce4585b
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue