diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-22 23:15:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-22 23:15:21 +0300 |
commit | 0b15c64164ce6eb923859a5117bfe19af62faa08 (patch) | |
tree | 858905861a1f77ca95e48085466c3d61af6480b8 /src/net | |
parent | 31aad897b3bd0951bb9c0eb34bd8636fdfdfa87c (diff) | |
download | manaplus-0b15c64164ce6eb923859a5117bfe19af62faa08.tar.gz manaplus-0b15c64164ce6eb923859a5117bfe19af62faa08.tar.bz2 manaplus-0b15c64164ce6eb923859a5117bfe19af62faa08.tar.xz manaplus-0b15c64164ce6eb923859a5117bfe19af62faa08.zip |
Impliment packet SMSG_CHAT_TALKIE_BOX.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 13dd438d8..6b7f9d9aa 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -1124,9 +1124,9 @@ void ChatHandler::processChatSilence(Net::MessageIn &msg) void ChatHandler::processChatTalkieBox(Net::MessageIn &msg) { - UNIMPLIMENTEDPACKET; msg.readBeingId("being id"); - msg.readString(80, "message"); + const std::string message = msg.readString(80, "message"); + localChatTab->chatLog(message, ChatMsgType::BY_SERVER); } void ChatHandler::processBattleChatMessage(Net::MessageIn &msg) |