mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-28 06:28:06 +03:00
HLTV: Fix crash the client on the connection to master server.
This commit is contained in:
parent
3d4e4ae8e8
commit
98ba97820a
@ -832,7 +832,8 @@ void Proxy::Broadcast(byte *data, int length, int groupType, bool isReliable)
|
||||
IClient *client = (IClient *)m_Clients.GetFirst();
|
||||
while (client)
|
||||
{
|
||||
if (((groupType & GROUP_CLIENT) && client->GetClientType() == TYPE_CLIENT)
|
||||
if (client->IsActive()
|
||||
&& ((groupType & GROUP_CLIENT) && client->GetClientType() == TYPE_CLIENT)
|
||||
|| ((groupType & GROUP_PROXY) && client->GetClientType() == TYPE_PROXY)
|
||||
|| ((groupType & GROUP_VOICE) && client->IsHearingVoices())
|
||||
|| ((groupType & GROUP_CHAT) && client->HasChatEnabled()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user