Sort playerlist inside game from Player tab

This commit is contained in:
laxa 2014-09-23 02:10:59 +02:00
parent 2c610053c1
commit f13f040468

View file

@ -214,10 +214,10 @@ void CMenus::RenderPlayers(CUIRect MainView)
for(int i = 0, Count = 0; i < MAX_CLIENTS; ++i)
{
if(!m_pClient->m_Snap.m_paInfoByTeam[i])
if(!m_pClient->m_Snap.m_paInfoByName[i])
continue;
int Index = m_pClient->m_Snap.m_paInfoByTeam[i]->m_ClientID;
int Index = m_pClient->m_Snap.m_paInfoByName[i]->m_ClientID;
if(Index == m_pClient->m_Snap.m_LocalClientID)
continue;