This fixes mute. Thanks to @heinrich5991 @Learath2 Mo2, the whole #DDRace and my dog.

This commit is contained in:
XXLTomate 2012-02-03 00:16:22 +01:00
parent 8097e96bfb
commit dce5e8434b

View file

@ -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);
}
}