mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Translate the emoticon message
This commit is contained in:
parent
366a0ec80b
commit
5293f78f22
|
@ -1511,6 +1511,13 @@ void *CGameContext::PreProcessMsg(int *MsgID, CUnpacker *pUnpacker, int ClientID
|
|||
pMsg->m_Reason = pMsg7->m_Reason;
|
||||
pMsg->m_Type = pMsg7->m_Type;
|
||||
}
|
||||
else if(*MsgID == protocol7::NETMSGTYPE_CL_EMOTICON)
|
||||
{
|
||||
protocol7::CNetMsg_Cl_Emoticon *pMsg7 = (protocol7::CNetMsg_Cl_Emoticon *)pRawMsg;
|
||||
::CNetMsg_Cl_Emoticon *pMsg = (::CNetMsg_Cl_Emoticon *)s_aRawMsg;
|
||||
|
||||
pMsg->m_Emoticon = pMsg7->m_Emoticon;
|
||||
}
|
||||
|
||||
*MsgID = Msg_SevenToSix(*MsgID);
|
||||
|
||||
|
|
Loading…
Reference in a new issue