From 91b9b3ab18400ab3f01fb33c3a684a242a04d142 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 21 Oct 2006 22:29:14 +0000 Subject: (svn r6876) -Codechange: Change the naming of _PLAYER in DESTTYPE_PLAYER/NETWORK_ACTION_CHAT_PLAYER to _COMPANY as that is whom you are really addressing to. Also change some variable names, 'desttype' is confusing if there is also a parameter 'dest', so rename it to just type. --- network_server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network_server.h') diff --git a/network_server.h b/network_server.h index 66ea4704e..c5b2baade 100644 --- a/network_server.h +++ b/network_server.h @@ -13,7 +13,7 @@ DEF_SERVER_SEND_COMMAND(PACKET_SERVER_NEWGAME); DEF_SERVER_SEND_COMMAND_PARAM(PACKET_SERVER_RCON)(NetworkClientState *cs, uint16 color, const char *command); bool NetworkFindName(char new_name[NETWORK_CLIENT_NAME_LENGTH]); -void NetworkServer_HandleChat(NetworkAction action, DestType desttype, int dest, const char *msg, uint16 from_index); +void NetworkServer_HandleChat(NetworkAction action, DestType type, int dest, const char *msg, uint16 from_index); bool NetworkServer_ReadPackets(NetworkClientState *cs); void NetworkServer_Tick(bool send_frame); -- cgit v1.2.3-70-g09d2