From 1e0a3842186c86e40eff6fa7894e578ae948d179 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Sep 2014 00:11:08 +0300 Subject: Fix typo in chat object. --- src/net/eathena/chathandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/chathandler.cpp') diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 8b5d8683d..7c08cbc28 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -458,7 +458,7 @@ void ChatHandler::processChatDisplay(Net::MessageIn &msg) const int len = msg.readInt16("len") - 17; ChatObject *const obj = new ChatObject; obj->ownerId = msg.readInt32("owner account id"); - obj->charId = msg.readInt32("char id"); + obj->chatId = msg.readInt32("chat id"); obj->maxUsers = msg.readInt16("max users"); obj->currentUsers = msg.readInt16("current users"); obj->type = msg.readUInt8("type"); -- cgit v1.2.3-70-g09d2