diff options
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r-- | src/net/eathena/skillhandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp index 1b61559d3..e4e6c8101 100644 --- a/src/net/eathena/skillhandler.cpp +++ b/src/net/eathena/skillhandler.cpp @@ -57,6 +57,7 @@ SkillHandler::SkillHandler() : SMSG_PLAYER_SKILL_UP, SMSG_PLAYER_SKILL_COOLDOWN, SMSG_PLAYER_SKILL_COOLDOWN_LIST, + SMSG_SKILL_SNAP, 0 }; handledMessages = _messages; @@ -87,6 +88,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg) processSkillCoolDownList(msg); break; + case SMSG_SKILL_SNAP: + processSkillSnap(msg); + break; + default: break; } @@ -286,4 +291,11 @@ void SkillHandler::processSkillFailed(Net::MessageIn &msg) NotifyManager::notify(NotifyTypes::SKILL_FAIL_MESSAGE, txt); } +void SkillHandler::processSkillSnap(Net::MessageIn &msg) +{ + msg.readInt32("being id"); + msg.readInt16("x"); + msg.readInt16("y"); +} + } // namespace EAthena |