summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-06 00:28:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-06 01:56:21 +0300
commit3acb4aa3b1248719a3896b419600864a68c65908 (patch)
tree33c77fb54bdb45140252064d11fcd5f7664e2adf /src/net/eathena/chathandler.cpp
parent97868ad421f8587ffedda5392ac0af2c3fecc7bb (diff)
downloadplus-3acb4aa3b1248719a3896b419600864a68c65908.tar.gz
plus-3acb4aa3b1248719a3896b419600864a68c65908.tar.bz2
plus-3acb4aa3b1248719a3896b419600864a68c65908.tar.xz
plus-3acb4aa3b1248719a3896b419600864a68c65908.zip
eathena: impliment packet SMSG_CHAT_ROOM_DESTROY.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp6
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)