diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-10 02:01:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-10 02:01:21 +0300 |
commit | 738c8f8500737e91bfeb46857545b8ea2d1ef972 (patch) | |
tree | 5cd9f32d584ee4edf07f0e304651049d0c1cf551 /src | |
parent | f7ae88a8c115128eb53fd41b552f19a9fc11d212 (diff) | |
download | plus-738c8f8500737e91bfeb46857545b8ea2d1ef972.tar.gz plus-738c8f8500737e91bfeb46857545b8ea2d1ef972.tar.bz2 plus-738c8f8500737e91bfeb46857545b8ea2d1ef972.tar.xz plus-738c8f8500737e91bfeb46857545b8ea2d1ef972.zip |
tmwa: read whole packet SMSG_BEING_VISIBLE.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/tmwa/beinghandler.cpp | 3 |
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)); |