From 5b72add865749d75ab9100079ef45cbb07cb1c50 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 27 Jul 2014 11:41:31 +0200 Subject: [PATCH] Case sensitive player sort --- src/game/client/gameclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 0b54e5ef8..030ff8a8c 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -1021,7 +1021,7 @@ void CGameClient::OnNewSnapshot() { for(int i = 0; i < MAX_CLIENTS-k-1; i++) { - if(m_Snap.m_paInfoByName[i+1] && (!m_Snap.m_paInfoByName[i] || str_comp(m_aClients[m_Snap.m_paInfoByName[i]->m_ClientID].m_aName, m_aClients[m_Snap.m_paInfoByName[i+1]->m_ClientID].m_aName) > 0)) + if(m_Snap.m_paInfoByName[i+1] && (!m_Snap.m_paInfoByName[i] || str_comp_nocase(m_aClients[m_Snap.m_paInfoByName[i]->m_ClientID].m_aName, m_aClients[m_Snap.m_paInfoByName[i+1]->m_ClientID].m_aName) > 0)) { const CNetObj_PlayerInfo *pTmp = m_Snap.m_paInfoByName[i]; m_Snap.m_paInfoByName[i] = m_Snap.m_paInfoByName[i+1];