mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #8316 from ChillerDragon/pr_use_sendchat
Use SendChat() in DbgStress
This commit is contained in:
commit
d4e3f6fc01
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue