diff options
author | Darkvater <darkvater@openttd.org> | 2006-10-21 22:29:14 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-10-21 22:29:14 +0000 |
commit | 91b9b3ab18400ab3f01fb33c3a684a242a04d142 (patch) | |
tree | 1749ba1045f80bc6f9dc51f19f5c263d872aa0ae /network_server.h | |
parent | baf451b216e2f7c741d727458f4b750b983585ed (diff) | |
download | openttd-91b9b3ab18400ab3f01fb33c3a684a242a04d142.tar.xz |
(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.
Diffstat (limited to 'network_server.h')
-rw-r--r-- | network_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |