From bde5efd020baf48312eb093f120d2b9094d2f994 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Jul 2016 20:25:56 +0300 Subject: Add packet SMSG_WALK_ERROR 0x0b21. --- src/net/eathena/playerrecv.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/net/eathena/playerrecv.cpp') diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index eb958a764..6f9f5a43c 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -220,6 +220,15 @@ void PlayerRecv::processWalkResponse(Net::MessageIn &msg) BLOCK_END("PlayerRecv::processWalkResponse") } +void PlayerRecv::processWalkError(Net::MessageIn &msg) +{ + msg.readInt32("tick"); + const int x = msg.readInt16("x"); + const int y = msg.readInt16("y"); + if (localPlayer) + localPlayer->failMove(x, y); +} + void PlayerRecv::processPvpInfo(Net::MessageIn &msg) { UNIMPLIMENTEDPACKET; -- cgit v1.2.3-60-g2f50