From 7412fabb9c74264010cd4ee43b2efddd326cafea Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 16 Mar 2011 12:37:41 +0100 Subject: made serverinfo use clan name and country code for players --- src/engine/client/client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/engine/client/client.cpp') 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()); } -- cgit 1.4.1