Fix: Proper player options menu

This commit is contained in:
def 2014-01-10 13:55:31 +01:00
parent 383d1d22f1
commit 9b4d792fac

View file

@ -153,7 +153,7 @@ void CMenus::RenderPlayers(CUIRect MainView)
int TotalPlayers = 0;
for(int i = 0; i < MAX_CLIENTS; ++i)
for(int i = 0; i < MAX_CLIENTS; ++i)
{
if(!m_pClient->m_Snap.m_paInfoByTeam[i])
continue;
@ -236,10 +236,9 @@ void CMenus::RenderPlayers(CUIRect MainView)
else
m_pClient->Friends()->AddFriend(m_pClient->m_aClients[Index].m_aName, m_pClient->m_aClients[Index].m_aClan);
}
UiDoListboxEnd(&s_ScrollValue, 0);
}
UiDoListboxEnd(&s_ScrollValue, 0);
/*
CUIRect bars;
votearea.HSplitTop(10.0f, 0, &votearea);