about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-04-02 19:51:05 +0200
committeroy <Tom_Adams@web.de>2011-04-02 19:51:05 +0200
commitab810cab2575ffebe5e08ed6dfce55453e17f19a (patch)
tree58aa606b38b533f4c4138568de2dcd1d0f8db248 /src/game/client
parent401543c7a9171fd637807886eaad6bfd9efd56a5 (diff)
downloadzcatch-ab810cab2575ffebe5e08ed6dfce55453e17f19a.tar.gz
zcatch-ab810cab2575ffebe5e08ed6dfce55453e17f19a.zip
fixed that player options just show players as friends not clans
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/gameclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp
index fab347e9..e5b5e298 100644
--- a/src/game/client/gameclient.cpp
+++ b/src/game/client/gameclient.cpp
@@ -841,7 +841,7 @@ void CGameClient::OnNewSnapshot()
 	// update friend state
 	for(int i = 0; i < MAX_CLIENTS; ++i)
 	{
-		if(i == m_Snap.m_LocalClientID || !m_Snap.m_paPlayerInfos[i] || !Friends()->IsFriend(m_aClients[i].m_aName, m_aClients[i].m_aClan))
+		if(i == m_Snap.m_LocalClientID || !m_Snap.m_paPlayerInfos[i] || !Friends()->IsFriend(m_aClients[i].m_aName, m_aClients[i].m_aClan, true))
 			m_aClients[i].m_Friend = false;
 		else
 			m_aClients[i].m_Friend = true;