diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-10 02:30:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-10 02:30:12 +0300 |
commit | 0b53e19ac08a2004e3c5e3d67a1146803fbd7afb (patch) | |
tree | 798141859ff276514acc4fa83e146212e05aa75a /src | |
parent | 738c8f8500737e91bfeb46857545b8ea2d1ef972 (diff) | |
download | manaverse-0b53e19ac08a2004e3c5e3d67a1146803fbd7afb.tar.gz manaverse-0b53e19ac08a2004e3c5e3d67a1146803fbd7afb.tar.bz2 manaverse-0b53e19ac08a2004e3c5e3d67a1146803fbd7afb.tar.xz manaverse-0b53e19ac08a2004e3c5e3d67a1146803fbd7afb.zip |
tmwa: read whole packet SMSG_BEING_CHANGE_LOOKS2.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/tmwa/beinghandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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) |