mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Use SendChat() in DbgStress
This commit is contained in:
parent
c727b87601
commit
28f3ac3e87
|
@ -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