summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r--src/net/eathena/skillhandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index de1b53c18..595f5a8a2 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -59,6 +59,7 @@ SkillHandler::SkillHandler() :
SMSG_PLAYER_SKILL_COOLDOWN_LIST,
SMSG_SKILL_SNAP,
SMSG_PLAYER_ADD_SKILL,
+ SMSG_PLAYER_DELETE_SKILL,
0
};
handledMessages = _messages;
@@ -97,6 +98,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg)
processSkillAdd(msg);
break;
+ case SMSG_PLAYER_DELETE_SKILL:
+ processSkillDelete(msg);
+ break;
+
default:
break;
}
@@ -207,6 +212,12 @@ void SkillHandler::processSkillAdd(Net::MessageIn &msg)
}
}
+void SkillHandler::processSkillDelete(Net::MessageIn &msg)
+{
+ // ignored, because after this packet server will send all skills.
+ msg.readInt32("skill id");
+}
+
void SkillHandler::processSkillCoolDown(Net::MessageIn &msg)
{
const int skillId = msg.readInt16("skill id");