mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 05:58:19 +00:00
Merge pull request #9049 from ChillerDragon/pr_rm_unused_sql_clientid
Remove unused m_ClientId from score worker
This commit is contained in:
commit
0628f74e64
|
@ -373,7 +373,6 @@ void CScore::LoadTeam(const char *pCode, int ClientId)
|
|||
auto Tmp = std::make_unique<CSqlTeamLoad>(SaveResult);
|
||||
str_copy(Tmp->m_aCode, pCode, sizeof(Tmp->m_aCode));
|
||||
str_copy(Tmp->m_aMap, Server()->GetMapName(), sizeof(Tmp->m_aMap));
|
||||
Tmp->m_ClientId = ClientId;
|
||||
str_copy(Tmp->m_aRequestingPlayer, Server()->ClientName(ClientId), sizeof(Tmp->m_aRequestingPlayer));
|
||||
Tmp->m_NumPlayer = 0;
|
||||
for(int i = 0; i < MAX_CLIENTS; i++)
|
||||
|
|
|
@ -214,7 +214,6 @@ struct CSqlTeamLoad : ISqlData
|
|||
char m_aCode[128];
|
||||
char m_aMap[MAX_MAP_LENGTH];
|
||||
char m_aRequestingPlayer[MAX_NAME_LENGTH];
|
||||
int m_ClientId;
|
||||
// struct holding all player names in the team or an empty string
|
||||
char m_aClientNames[MAX_CLIENTS][MAX_NAME_LENGTH];
|
||||
int m_aClientId[MAX_CLIENTS];
|
||||
|
|
Loading…
Reference in a new issue