fixed chat ignore feature

This commit is contained in:
oy 2012-03-04 12:46:38 +01:00
parent ffa93a007c
commit 2f86ad3c4b

View file

@ -183,7 +183,7 @@ void CMenus::RenderPlayers(CUIRect MainView)
ButtonBar.VSplitLeft(Width, &Button, &ButtonBar);
Button.VSplitLeft((Width-Button.h)/4.0f, 0, &Button);
Button.VSplitLeft(Button.h, &Button, 0);
if(&g_Config.m_ClShowChatFriends && !m_pClient->m_aClients[Index].m_Friend)
if(g_Config.m_ClShowChatFriends && !m_pClient->m_aClients[Index].m_Friend)
DoButton_Toggle(&s_aPlayerIDs[Index][0], 1, &Button, false);
else
if(DoButton_Toggle(&s_aPlayerIDs[Index][0], m_pClient->m_aClients[Index].m_ChatIgnore, &Button, true))