diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-06 00:28:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-06 01:56:21 +0300 |
commit | 3acb4aa3b1248719a3896b419600864a68c65908 (patch) | |
tree | 33c77fb54bdb45140252064d11fcd5f7664e2adf /src/net/eathena | |
parent | 97868ad421f8587ffedda5392ac0af2c3fecc7bb (diff) | |
download | mv-3acb4aa3b1248719a3896b419600864a68c65908.tar.gz mv-3acb4aa3b1248719a3896b419600864a68c65908.tar.bz2 mv-3acb4aa3b1248719a3896b419600864a68c65908.tar.xz mv-3acb4aa3b1248719a3896b419600864a68c65908.zip |
eathena: impliment packet SMSG_CHAT_ROOM_DESTROY.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index a8f9709ed..e35fcbc8b 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -704,7 +704,7 @@ void ChatHandler::processChatRoomJoinAck(Net::MessageIn &msg) obj->currentUsers = oldChat->currentUsers; obj->type = oldChat->type; obj->title = oldChat->title; - obj->update(); +// obj->update(); localPlayer->setChat(obj); } @@ -926,8 +926,8 @@ void ChatHandler::processChatRoomCreateAck(Net::MessageIn &msg) void ChatHandler::processChatRoomDestroy(Net::MessageIn &msg) { - UNIMPLIMENTEDPACKET; - msg.readInt32("chat id"); + const int chatId = msg.readInt32("chat id"); + actorManager->removeRoom(chatId); } void ChatHandler::processChatRoomJoinFailed(Net::MessageIn &msg) |