Merge pull request #8031 from dobrykafe/pr-emotional-tees

fix incorrect usage of `SvEmotionalTees`
This commit is contained in:
Robert Müller 2024-02-29 16:06:43 +00:00 committed by GitHub
commit be9411b262
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2683,7 +2683,7 @@ void CGameContext::OnEmoticonNetMessage(const CNetMsg_Cl_Emoticon *pMsg, int Cli
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;
switch(pMsg->m_Emoticon)