summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/playerrecv.cpp')
-rw-r--r--src/net/eathena/playerrecv.cpp9
1 files changed, 9 insertions, 0 deletions
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;