summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-22 23:15:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-22 23:15:21 +0300
commit0b15c64164ce6eb923859a5117bfe19af62faa08 (patch)
tree858905861a1f77ca95e48085466c3d61af6480b8
parent31aad897b3bd0951bb9c0eb34bd8636fdfdfa87c (diff)
downloadmv-0b15c64164ce6eb923859a5117bfe19af62faa08.tar.gz
mv-0b15c64164ce6eb923859a5117bfe19af62faa08.tar.bz2
mv-0b15c64164ce6eb923859a5117bfe19af62faa08.tar.xz
mv-0b15c64164ce6eb923859a5117bfe19af62faa08.zip
Impliment packet SMSG_CHAT_TALKIE_BOX.
-rw-r--r--src/net/eathena/chathandler.cpp4
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)