summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/skillhandler.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index da8b94d11..640b6fbbc 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -149,9 +149,10 @@ void SkillHandler::processPlayerSkills(Net::MessageIn &msg)
void SkillHandler::processSkillCoolDown(Net::MessageIn &msg)
{
- // +++ need add cool down bar in skills window and in ministatus?
- msg.readInt16("skill id");
- msg.readInt32("duration");
+ const int skillId = msg.readInt16("skill id");
+ const int duration = msg.readInt32("duration");
+ if (skillDialog)
+ skillDialog->setSkillDuration(skillId, duration);
}
} // namespace EAthena