From 738c8f8500737e91bfeb46857545b8ea2d1ef972 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Sep 2014 02:01:21 +0300 Subject: tmwa: read whole packet SMSG_BEING_VISIBLE. --- src/net/tmwa/beinghandler.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp index 9d45c6aa8..c97f62ae1 100644 --- a/src/net/tmwa/beinghandler.cpp +++ b/src/net/tmwa/beinghandler.cpp @@ -971,6 +971,9 @@ void BeingHandler::processBeingVisibleOrMove(Net::MessageIn &msg) msg.readUInt8("unknown"); msg.readInt16("unknown"); + if (visible) + msg.readUInt8("unknown"); + dstBeing->setStunMode(stunMode); dstBeing->setStatusEffectBlock(0, static_cast( (statusEffects >> 16) & 0xffff)); -- cgit v1.2.3-70-g09d2