(svn r22364) -Codechange: don't show the (unknown) client address in the client list at clients

This commit is contained in:
rubidium
2011-04-22 15:57:05 +00:00
parent 9328b8b63d
commit 074644a3f0
2 changed files with 15 additions and 15 deletions

View File

@@ -1237,19 +1237,4 @@ bool NetworkMaxSpectatorsReached()
return NetworkSpectatorCount() >= (_network_server ? _settings_client.network.max_spectators : _network_server_max_spectators);
}
/**
* Print all the clients to the console
*/
void NetworkPrintClients()
{
NetworkClientInfo *ci;
FOR_ALL_CLIENT_INFOS(ci) {
IConsolePrintF(CC_INFO, "Client #%1d name: '%s' company: %1d IP: %s",
ci->client_id,
ci->client_name,
ci->client_playas + (Company::IsValidID(ci->client_playas) ? 1 : 0),
GetClientIP(ci));
}
}
#endif /* ENABLE_NETWORK */