mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Missed one check
This commit is contained in:
parent
ec1581f13a
commit
9d2fb7dfda
|
@ -263,8 +263,8 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
|
||||||
unsigned ClanHash = str_quickhash(pItem->m_aClients[j].m_aClan);
|
unsigned ClanHash = str_quickhash(pItem->m_aClients[j].m_aClan);
|
||||||
for(int f = 0; f < m_lFriends.size(); ++f)
|
for(int f = 0; f < m_lFriends.size(); ++f)
|
||||||
{
|
{
|
||||||
if(((g_Config.m_ClFriendsIgnoreClan && m_lFriends[f].m_pFriendInfo->m_aName[0]) || ClanHash == m_lFriends[f].m_pFriendInfo->m_ClanHash) &&
|
if(((g_Config.m_ClFriendsIgnoreClan && m_lFriends[f].m_pFriendInfo->m_aName[0]) || (ClanHash == m_lFriends[f].m_pFriendInfo->m_ClanHash && !str_comp(m_lFriends[f].m_pFriendInfo->m_aClan, pItem->m_aClients[j].m_aClan))) &&
|
||||||
(!m_lFriends[f].m_pFriendInfo->m_aName[0] || NameHash == m_lFriends[f].m_pFriendInfo->m_NameHash))
|
(!m_lFriends[f].m_pFriendInfo->m_aName[0] || (NameHash == m_lFriends[f].m_pFriendInfo->m_NameHash && !str_comp(m_lFriends[f].m_pFriendInfo->m_aName, pItem->m_aClients[j].m_aName))))
|
||||||
{
|
{
|
||||||
m_lFriends[f].m_NumFound++;
|
m_lFriends[f].m_NumFound++;
|
||||||
if(m_lFriends[f].m_pFriendInfo->m_aName[0])
|
if(m_lFriends[f].m_pFriendInfo->m_aName[0])
|
||||||
|
|
Loading…
Reference in a new issue