diff options
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index 399f4d13c..fa3f9a874 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -437,8 +437,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("unused"); if (localPlayer) localPlayer->setRealPos(dstX, dstY); BLOCK_END("PlayerHandler::processWalkResponse") |