mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Remove unused variable m_SupportsMapSha256
This commit is contained in:
parent
a818b4573e
commit
4fab7d7500
|
@ -999,7 +999,6 @@ int CServer::NewClientNoAuthCallback(int ClientID, void *pUser)
|
|||
pThis->m_aClients[ClientID].m_DnsblState = CClient::DNSBL_STATE_NONE;
|
||||
|
||||
pThis->m_aClients[ClientID].m_State = CClient::STATE_CONNECTING;
|
||||
pThis->m_aClients[ClientID].m_SupportsMapSha256 = false;
|
||||
pThis->m_aClients[ClientID].m_aName[0] = 0;
|
||||
pThis->m_aClients[ClientID].m_aClan[0] = 0;
|
||||
pThis->m_aClients[ClientID].m_Country = -1;
|
||||
|
@ -1022,7 +1021,6 @@ int CServer::NewClientCallback(int ClientID, void *pUser, bool Sixup)
|
|||
{
|
||||
CServer *pThis = (CServer *)pUser;
|
||||
pThis->m_aClients[ClientID].m_State = CClient::STATE_PREAUTH;
|
||||
pThis->m_aClients[ClientID].m_SupportsMapSha256 = false;
|
||||
pThis->m_aClients[ClientID].m_DnsblState = CClient::DNSBL_STATE_NONE;
|
||||
pThis->m_aClients[ClientID].m_aName[0] = 0;
|
||||
pThis->m_aClients[ClientID].m_aClan[0] = 0;
|
||||
|
@ -1107,7 +1105,6 @@ int CServer::DelClientCallback(int ClientID, const char *pReason, void *pUser)
|
|||
pThis->GameServer()->OnClientDrop(ClientID, pReason);
|
||||
|
||||
pThis->m_aClients[ClientID].m_State = CClient::STATE_EMPTY;
|
||||
pThis->m_aClients[ClientID].m_SupportsMapSha256 = false;
|
||||
pThis->m_aClients[ClientID].m_aName[0] = 0;
|
||||
pThis->m_aClients[ClientID].m_aClan[0] = 0;
|
||||
pThis->m_aClients[ClientID].m_Country = -1;
|
||||
|
|
|
@ -150,7 +150,6 @@ public:
|
|||
|
||||
// connection state info
|
||||
int m_State;
|
||||
bool m_SupportsMapSha256;
|
||||
int m_Latency;
|
||||
int m_SnapRate;
|
||||
|
||||
|
|
Loading…
Reference in a new issue