diff options
Diffstat (limited to 'src/engine/client')
| -rw-r--r-- | src/engine/client/client.cpp | 2 | ||||
| -rw-r--r-- | src/engine/client/srvbrowse.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 1c0a3a01..6d228811 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -1108,6 +1108,8 @@ void CClient::ProcessPacket(CNetChunk *pPacket) for(int i = 0; i < Info.m_NumPlayers; i++) { str_copy(Info.m_aPlayers[i].m_aName, Up.GetString(CUnpacker::SANITIZE_CC|CUnpacker::SKIP_START_WHITESPACES), sizeof(Info.m_aPlayers[i].m_aName)); + str_copy(Info.m_aPlayers[i].m_aClan, Up.GetString(CUnpacker::SANITIZE_CC|CUnpacker::SKIP_START_WHITESPACES), sizeof(Info.m_aPlayers[i].m_aClan)); + Info.m_aPlayers[i].m_Country = str_toint(Up.GetString()); Info.m_aPlayers[i].m_Score = str_toint(Up.GetString()); } diff --git a/src/engine/client/srvbrowse.h b/src/engine/client/srvbrowse.h index 0e06fc22..43bd1807 100644 --- a/src/engine/client/srvbrowse.h +++ b/src/engine/client/srvbrowse.h @@ -92,7 +92,6 @@ private: bool SortCompareMap(int Index1, int Index2) const; bool SortComparePing(int Index1, int Index2) const; bool SortCompareGametype(int Index1, int Index2) const; - bool SortCompareProgression(int Index1, int Index2) const; bool SortCompareNumPlayers(int Index1, int Index2) const; // |