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.c | |
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.c')
-rw-r--r-- | network_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_server.c b/network_server.c index 4ad123056..714daf9cc 100644 --- a/network_server.c +++ b/network_server.c @@ -1014,7 +1014,7 @@ void NetworkServer_HandleChat(NetworkAction action, DestType desttype, int dest, } } break; - case DESTTYPE_PLAYER: { + case DESTTYPE_TEAM: { bool show_local = true; // If this is false, the message is already displayed // on the client who did sent it. /* Find all clients that belong to this player */ |