From 782b80eff755afcf7d4b3c5f9237bc65457b4e16 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 22 Dec 2008 12:59:31 +0000 Subject: (svn r14709) -Codechange: make a clearer distinction between 'unique' client identification ids and the indices into the clients/client info arrays. --- src/network/network_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/network_internal.h') diff --git a/src/network/network_internal.h b/src/network/network_internal.h index 37354cb5e..0508e4eb8 100644 --- a/src/network/network_internal.h +++ b/src/network/network_internal.h @@ -144,7 +144,7 @@ void CDECL NetworkTextMessage(NetworkAction action, ConsoleColour color, bool se void NetworkGetClientName(char *clientname, size_t size, const NetworkTCPSocketHandler *cs); uint NetworkCalculateLag(const NetworkTCPSocketHandler *cs); byte NetworkGetCurrentLanguageIndex(); -NetworkTCPSocketHandler *NetworkFindClientStateFromIndex(uint16 client_index); +NetworkTCPSocketHandler *NetworkFindClientStateFromClientID(ClientID client_id); char* GetNetworkErrorMsg(char* buf, NetworkErrorCode err, const char* last); bool NetworkFindName(char new_name[NETWORK_CLIENT_NAME_LENGTH]); -- cgit v1.2.3-54-g00ecf