summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-01 20:24:02 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-01 20:24:02 +0300
commit910d7bb8267d38c2ca68f963d2239f23f0abc83f (patch)
tree531534673331fd647e0bcd9bc0eef6644745d80f
parent8e31dd982376769e5c8ec277f92c2e492268a9b3 (diff)
downloadmv-910d7bb8267d38c2ca68f963d2239f23f0abc83f.tar.gz
mv-910d7bb8267d38c2ca68f963d2239f23f0abc83f.tar.bz2
mv-910d7bb8267d38c2ca68f963d2239f23f0abc83f.tar.xz
mv-910d7bb8267d38c2ca68f963d2239f23f0abc83f.zip
Add missing handler for skill cancel packet.
-rw-r--r--src/net/eathena/beinghandler.cpp2
-rw-r--r--src/net/eathena/beingrecv.cpp5
-rw-r--r--src/net/eathena/beingrecv.h1
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,