summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/tmwa/beinghandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index a4515debb..2b36828b5 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -677,7 +677,8 @@ void BeingHandler::processPlayerMoveUpdate(Net::MessageIn &msg) const
if (level)
dstBeing->setLevel(level);
- msg.readUInt8("unused");
+ if (msgType != 2)
+ msg.readUInt8("unused");
if (dstBeing->getType() != ActorType::PLAYER
|| msgType != 3)