mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Next try
This commit is contained in:
parent
dfe3de179a
commit
ca22600b4f
|
@ -193,12 +193,12 @@ void CGameTeams::SetForceCharacterTeam(int ClientID, int Team)
|
|||
if (Team != TEAM_SUPER && m_TeamState[Team] == TEAMSTATE_EMPTY)
|
||||
ChangeTeamState(Team, TEAMSTATE_OPEN);
|
||||
|
||||
for (int LoopClientID = 0; LoopClientID < MAX_CLIENTS; ++LoopClientID)
|
||||
{
|
||||
if (GetPlayer(LoopClientID)
|
||||
&& GetPlayer(LoopClientID)->m_IsUsingDDRaceClient)
|
||||
SendTeamsState(LoopClientID);
|
||||
}
|
||||
//for (int LoopClientID = 0; LoopClientID < MAX_CLIENTS; ++LoopClientID)
|
||||
//{
|
||||
// if (GetPlayer(LoopClientID)
|
||||
// && GetPlayer(LoopClientID)->m_IsUsingDDRaceClient)
|
||||
// SendTeamsState(LoopClientID);
|
||||
//}
|
||||
}
|
||||
|
||||
int CGameTeams::Count(int Team) const
|
||||
|
|
Loading…
Reference in a new issue