summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/tmwa/beinghandler.cpp5
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)