mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Broadcasting fix 425
This commit is contained in:
parent
f5590aecbc
commit
24fcc8c8b0
|
@ -272,7 +272,8 @@ int64_t CGameTeams::TeamMask(int Team, int ExceptID, int Asker)
|
|||
|| m_Core.Team(i) == TEAM_SUPER))
|
||||
|| ((GetPlayer(i) && (GetPlayer(i)->GetTeam() == -1 || GetPlayer(i)->m_Paused))
|
||||
&& (GetPlayer(i)->m_SpectatorID == SPEC_FREEVIEW
|
||||
|| m_Core.Team(GetPlayer(i)->m_SpectatorID) == Team)))
|
||||
|| GetPlayer(i)->m_SpectatorID == Asker
|
||||
|| (m_Core.Team(GetPlayer(i)->m_SpectatorID) == Team && !m_Core.GetSolo(Asker)))))
|
||||
Mask |= 1LL << i;
|
||||
return Mask;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue