mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
This fixes mute. Thanks to @heinrich5991 @Learath2 Mo2, the whole #DDRace and my dog.
This commit is contained in:
parent
8097e96bfb
commit
dce5e8434b
|
@ -1807,8 +1807,7 @@ int main(int argc, const char **argv) // ignore_convention
|
|||
void CServer::GetClientAddr(int ClientID, NETADDR *pAddr)
|
||||
{
|
||||
if(ClientID >= 0 && ClientID < MAX_CLIENTS && m_aClients[ClientID].m_State == CClient::STATE_INGAME) {
|
||||
NETADDR temp = *m_NetServer.ClientAddr(ClientID);
|
||||
pAddr = &temp;
|
||||
*pAddr = *m_NetServer.ClientAddr(ClientID);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue