mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
fix incorrect usage of SvEmotionalTees
This commit is contained in:
parent
9620a9d3d9
commit
d2b2071bda
|
@ -2683,7 +2683,7 @@ void CGameContext::OnEmoticonNetMessage(const CNetMsg_Cl_Emoticon *pMsg, int Cli
|
||||||
SendEmoticon(ClientID, pMsg->m_Emoticon, -1);
|
SendEmoticon(ClientID, pMsg->m_Emoticon, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(g_Config.m_SvEmotionalTees && pPlayer->m_EyeEmoteEnabled)
|
if(g_Config.m_SvEmotionalTees == 1 && pPlayer->m_EyeEmoteEnabled)
|
||||||
{
|
{
|
||||||
int EmoteType = EMOTE_NORMAL;
|
int EmoteType = EMOTE_NORMAL;
|
||||||
switch(pMsg->m_Emoticon)
|
switch(pMsg->m_Emoticon)
|
||||||
|
|
Loading…
Reference in a new issue