summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 02:01:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 02:01:21 +0300
commit738c8f8500737e91bfeb46857545b8ea2d1ef972 (patch)
tree5cd9f32d584ee4edf07f0e304651049d0c1cf551
parentf7ae88a8c115128eb53fd41b552f19a9fc11d212 (diff)
downloadmanaplus-738c8f8500737e91bfeb46857545b8ea2d1ef972.tar.gz
manaplus-738c8f8500737e91bfeb46857545b8ea2d1ef972.tar.bz2
manaplus-738c8f8500737e91bfeb46857545b8ea2d1ef972.tar.xz
manaplus-738c8f8500737e91bfeb46857545b8ea2d1ef972.zip
tmwa: read whole packet SMSG_BEING_VISIBLE.
-rw-r--r--src/net/tmwa/beinghandler.cpp3
1 files changed, 3 insertions, 0 deletions
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<uint16_t>(
(statusEffects >> 16) & 0xffff));