summaryrefslogtreecommitdiff
path: root/network_server.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-10-21 22:29:14 +0000
committerDarkvater <Darkvater@openttd.org>2006-10-21 22:29:14 +0000
commit5459f53c959a501c0aaae22415e74c6de496f9bc (patch)
tree1749ba1045f80bc6f9dc51f19f5c263d872aa0ae /network_server.c
parent5f9fcc5b21fbdc830fb14e4dc1858c86e0d8b768 (diff)
downloadopenttd-5459f53c959a501c0aaae22415e74c6de496f9bc.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.c2
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 */