Emoticons for both with cl_dummy_copy_moves

This commit is contained in:
def 2015-02-18 14:26:47 +01:00
parent 7f54f8e10e
commit 781e96ef65

View file

@ -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);
}
}