fix incorrect usage of SvEmotionalTees

This commit is contained in:
dobrykafe 2024-02-29 16:47:58 +01:00
parent 9620a9d3d9
commit d2b2071bda

View file

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