Merge pull request #8316 from ChillerDragon/pr_use_sendchat

Use SendChat() in DbgStress
This commit is contained in:
Robert Müller 2024-05-06 08:52:47 +00:00 committed by GitHub
commit d4e3f6fc01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1373,10 +1373,7 @@ void CGameClient::OnNewSnapshot()
aMessage[i] = (char)('a' + (rand() % ('z' - 'a')));
aMessage[MsgLen] = 0;
CNetMsg_Cl_Say Msg;
Msg.m_Team = rand() & 1;
Msg.m_pMessage = aMessage;
Client()->SendPackMsgActive(&Msg, MSGFLAG_VITAL);
m_Chat.SendChat(rand() & 1, aMessage);
}
}
#endif