summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-23 22:11:49 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-23 22:20:30 +0300
commit59607172a197cbe622dabc4619100f69067403dd (patch)
treeb9abcba01d6a1d177203e88e9347e7f9282d68be
parentf7928a91e25deec5314b55e2b269c191fc140aec (diff)
downloadplus-59607172a197cbe622dabc4619100f69067403dd.tar.gz
plus-59607172a197cbe622dabc4619100f69067403dd.tar.bz2
plus-59607172a197cbe622dabc4619100f69067403dd.tar.xz
plus-59607172a197cbe622dabc4619100f69067403dd.zip
Impliment packet SMSG_SKILL_SNAP (hercules).
-rw-r--r--src/net/eathena/packetsin.inc2
-rw-r--r--src/net/eathena/skillrecv.cpp8
-rw-r--r--src/net/eathena/skillrecv.h1
3 files changed, 1 insertions, 10 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 30c7a526b..1e36f156b 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -399,7 +399,7 @@ packet(SMSG_SKILL_GROUND_NO_DAMAGE, 0x0117, 18, &BeingRecv::processSkill
packet(SMSG_SKILL_ITEM_LIST_WINDOW, 0x07e3, 6, &SkillRecv::processSkillItemListWindow);
packet(SMSG_SKILL_MEMO_MESSAGE, 0x011e, 3, &SkillRecv::processSkillMemoMessage);
packet(SMSG_SKILL_NO_DAMAGE, 0x011a, 15, &Ea::BeingRecv::processSkillNoDamage);
-packet(SMSG_SKILL_SNAP, 0x08d2, 10, &SkillRecv::processSkillSnap);
+packet(SMSG_SKILL_SNAP, 0x08d2, 10, &BeingRecv::processBeingSlide);
packet(SMSG_SKILL_UNIT_UPDATE, 0x01ac, 6, &SkillRecv::processSkillUnitUpdate);
packet(SMSG_SKILL_WARP_POINT, 0x011c, 68, &SkillRecv::processSkillWarpPoint);
packet(SMSG_SOLVE_CHAR_NAME, 0x0194, 30, &BeingRecv::processSolveCharName);
diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp
index f0ce13cdd..75e6464f4 100644
--- a/src/net/eathena/skillrecv.cpp
+++ b/src/net/eathena/skillrecv.cpp
@@ -325,14 +325,6 @@ void SkillRecv::processSkillFailed(Net::MessageIn &msg)
NotifyManager::notify(NotifyTypes::SKILL_FAIL_MESSAGE, txt);
}
-void SkillRecv::processSkillSnap(Net::MessageIn &msg)
-{
- UNIMPLIMENTEDPACKET;
- msg.readBeingId("being id");
- msg.readInt16("x");
- msg.readInt16("y");
-}
-
void SkillRecv::processSkillWarpPoint(Net::MessageIn &msg)
{
const int skillId = msg.readInt16("skill id");
diff --git a/src/net/eathena/skillrecv.h b/src/net/eathena/skillrecv.h
index 56dbb1100..556982b3e 100644
--- a/src/net/eathena/skillrecv.h
+++ b/src/net/eathena/skillrecv.h
@@ -36,7 +36,6 @@ namespace EAthena
void processPlayerSkills(Net::MessageIn &msg);
void processSkillCoolDown(Net::MessageIn &msg);
void processSkillCoolDownList(Net::MessageIn &msg);
- void processSkillSnap(Net::MessageIn &msg);
void processSkillAdd(Net::MessageIn &msg);
void processSkillUpdate(Net::MessageIn &msg);
void processSkillDelete(Net::MessageIn &msg);