mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Emoticons for both with cl_dummy_copy_moves
This commit is contained in:
parent
7f54f8e10e
commit
781e96ef65
|
@ -147,4 +147,11 @@ void CEmoticon::Emote(int Emoticon)
|
|||
CNetMsg_Cl_Emoticon Msg;
|
||||
Msg.m_Emoticon = Emoticon;
|
||||
Client()->SendPackMsg(&Msg, MSGFLAG_VITAL);
|
||||
|
||||
if(g_Config.m_ClDummyCopyMoves)
|
||||
{
|
||||
CMsgPacker Msg(NETMSGTYPE_CL_EMOTICON);
|
||||
Msg.AddInt(Emoticon);
|
||||
Client()->SendMsgExY(&Msg, MSGFLAG_VITAL, false, !g_Config.m_ClDummy);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue