diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-01 20:24:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-01 20:24:02 +0300 |
commit | 910d7bb8267d38c2ca68f963d2239f23f0abc83f (patch) | |
tree | 531534673331fd647e0bcd9bc0eef6644745d80f /src/net/eathena | |
parent | 8e31dd982376769e5c8ec277f92c2e492268a9b3 (diff) | |
download | manaverse-910d7bb8267d38c2ca68f963d2239f23f0abc83f.tar.gz manaverse-910d7bb8267d38c2ca68f963d2239f23f0abc83f.tar.bz2 manaverse-910d7bb8267d38c2ca68f963d2239f23f0abc83f.tar.xz manaverse-910d7bb8267d38c2ca68f963d2239f23f0abc83f.zip |
Add missing handler for skill cancel packet.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/beingrecv.h | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 664ccdca5..e3da073bf 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -249,7 +249,7 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) break; case SMSG_SKILL_CAST_CANCEL: - msg.readInt32("id?"); + BeingRecv::processSkillCancel(msg); break; case SMSG_SKILL_NO_DAMAGE: diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 977e95696..2aaf6be7e 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -1667,4 +1667,9 @@ Being *BeingRecv::createBeing2(Net::MessageIn &msg, return being; } +void BeingRecv::processSkillCancel(Net::MessageIn &msg) +{ + msg.readInt32("id?"); +} + } // namespace EAthena diff --git a/src/net/eathena/beingrecv.h b/src/net/eathena/beingrecv.h index 597cd9544..95f7b50eb 100644 --- a/src/net/eathena/beingrecv.h +++ b/src/net/eathena/beingrecv.h @@ -109,6 +109,7 @@ namespace EAthena void processBeingViewEquipment(Net::MessageIn &msg); void processPvpSet(Net::MessageIn &msg); void processNameResponse2(Net::MessageIn &msg); + void processSkillCancel(Net::MessageIn &msg); Being *createBeing2(Net::MessageIn &msg, const BeingId id, const int16_t job, |