diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-21 20:25:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-21 20:25:56 +0300 |
commit | bde5efd020baf48312eb093f120d2b9094d2f994 (patch) | |
tree | aae42f2c5e85f59b0b704a99520bff5b3d9ba7a4 /src/net/eathena/playerrecv.cpp | |
parent | 70b8dc1a827e878ef899cf9824362706e86f30e5 (diff) | |
download | manaverse-bde5efd020baf48312eb093f120d2b9094d2f994.tar.gz manaverse-bde5efd020baf48312eb093f120d2b9094d2f994.tar.bz2 manaverse-bde5efd020baf48312eb093f120d2b9094d2f994.tar.xz manaverse-bde5efd020baf48312eb093f120d2b9094d2f994.zip |
Add packet SMSG_WALK_ERROR 0x0b21.
Diffstat (limited to 'src/net/eathena/playerrecv.cpp')
-rw-r--r-- | src/net/eathena/playerrecv.cpp | 9 |
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; |