summaryrefslogtreecommitdiff
path: root/src/network/network_chat_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-10-15 14:29:13 +0000
committerrubidium <rubidium@openttd.org>2010-10-15 14:29:13 +0000
commit515edee17c6cb6e2f860bcdb3308a0fc5e538e86 (patch)
tree365111fc46bb5e9ad9b605817df959a058e706ec /src/network/network_chat_gui.cpp
parent0ca7e4e82e3657b6e935bc618403192b82b5dcc0 (diff)
downloadopenttd-515edee17c6cb6e2f860bcdb3308a0fc5e538e86.tar.xz
(svn r20925) -Codechange: make the client send commands have a slightly more sensible name
Diffstat (limited to 'src/network/network_chat_gui.cpp')
-rw-r--r--src/network/network_chat_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp
index ce6064e8c..345c42a54 100644
--- a/src/network/network_chat_gui.cpp
+++ b/src/network/network_chat_gui.cpp
@@ -264,7 +264,7 @@ static void SendChat(const char *buf, DestType type, int dest)
{
if (StrEmpty(buf)) return;
if (!_network_server) {
- SEND_COMMAND(PACKET_CLIENT_CHAT)((NetworkAction)(NETWORK_ACTION_CHAT + type), type, dest, buf, 0);
+ MyClient::SendChat((NetworkAction)(NETWORK_ACTION_CHAT + type), type, dest, buf, 0);
} else {
NetworkServerSendChat((NetworkAction)(NETWORK_ACTION_CHAT + type), type, dest, buf, CLIENT_ID_SERVER);
}