From 78edce93375df12e878b69af829f37a84c5c86d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 Sep 2014 02:08:12 +0300 Subject: eathena: fix reading all fields in SMSG_WALK_RESPONSE 0x0087. --- src/net/eathena/playerhandler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index c6636fded..a11558a86 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -349,8 +349,9 @@ void PlayerHandler::processWalkResponse(Net::MessageIn &msg) * otherwise. */ uint16_t srcX, srcY, dstX, dstY; - msg.readInt32(); // tick - msg.readCoordinatePair(srcX, srcY, dstX, dstY); + msg.readInt32("tick"); + msg.readCoordinatePair(srcX, srcY, dstX, dstY, "move path"); + msg.readUInt8("(sx<<4) | (sy&0x0f)"); if (localPlayer) localPlayer->setRealPos(dstX, dstY); BLOCK_END("PlayerHandler::processWalkResponse") -- cgit v1.2.3-70-g09d2