summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp5
1 files 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")