(svn r20925) -Codechange: make the client send commands have a slightly more sensible name

This commit is contained in:
rubidium
2010-10-15 14:29:13 +00:00
parent 41e6567c0d
commit 8f4638ed0f
7 changed files with 89 additions and 71 deletions

View File

@@ -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);
}