From 0b53e19ac08a2004e3c5e3d67a1146803fbd7afb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Sep 2014 02:30:12 +0300 Subject: tmwa: read whole packet SMSG_BEING_CHANGE_LOOKS2. --- src/net/tmwa/beinghandler.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net/tmwa/beinghandler.cpp') diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp index c97f62ae1..272139c3d 100644 --- a/src/net/tmwa/beinghandler.cpp +++ b/src/net/tmwa/beinghandler.cpp @@ -286,9 +286,14 @@ void BeingHandler::processBeingChangeLook(Net::MessageIn &msg) const { // SMSG_BEING_CHANGE_LOOKS2 id = msg.readInt16("id1"); if (type == 2 || serverVersion > 0) + { id2 = msg.readInt16("id2"); + } else + { + msg.readInt16("id2"); id2 = 1; + } } if (dstBeing->getType() == ActorType::PLAYER) -- cgit v1.2.3-70-g09d2