Change chat arbitrary data field from an int64 to a struct.

This commit is contained in:
Jonathan G Rennison
2017-03-03 22:32:33 +00:00
parent c70a60fd18
commit 3001595916
11 changed files with 38 additions and 21 deletions

View File

@@ -273,7 +273,7 @@ static void SendChat(const char *buf, DestType type, int dest)
{
if (StrEmpty(buf)) return;
if (!_network_server) {
MyClient::SendChat((NetworkAction)(NETWORK_ACTION_CHAT + type), type, dest, buf, 0);
MyClient::SendChat((NetworkAction)(NETWORK_ACTION_CHAT + type), type, dest, buf, NetworkTextMessageData());
} else {
NetworkServerSendChat((NetworkAction)(NETWORK_ACTION_CHAT + type), type, dest, buf, CLIENT_ID_SERVER);
}