summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-18 13:25:34 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-18 13:25:34 +0300
commitb8fd168c06687338268226ac4e8292549c31bbfc (patch)
treec71fae32c9eb506c900fce8e7dd76db6eb86eabb /src/net
parent718cc20f00d8724c79d2c0e928696b476119af6d (diff)
downloadmanaplus-b8fd168c06687338268226ac4e8292549c31bbfc.tar.gz
manaplus-b8fd168c06687338268226ac4e8292549c31bbfc.tar.bz2
manaplus-b8fd168c06687338268226ac4e8292549c31bbfc.tar.xz
manaplus-b8fd168c06687338268226ac4e8292549c31bbfc.zip
Fix reading packet SMSG_BEING_MOVE3 for non existing player.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/beingrecv.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp
index f69a2f003..2a0351ef2 100644
--- a/src/net/ea/beingrecv.cpp
+++ b/src/net/ea/beingrecv.cpp
@@ -455,6 +455,7 @@ void BeingRecv::processBeingMove3(Net::MessageIn &msg)
if (!dstBeing)
{
DEBUGLOGSTR("invisible player?");
+ msg.readInt16("speed");
msg.readInt16("x");
msg.readInt16("y");
msg.readBytes(len, "moving path");