From ca342d3fbdc5796c80452bd0a1abbe1ecc7937f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 23 Oct 2014 22:27:50 +0300 Subject: Add packet fields comments in skillhandler. --- src/net/ea/skillhandler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/skillhandler.cpp b/src/net/ea/skillhandler.cpp index 5f26a5203..d55404e50 100644 --- a/src/net/ea/skillhandler.cpp +++ b/src/net/ea/skillhandler.cpp @@ -39,11 +39,11 @@ SkillHandler::SkillHandler() void SkillHandler::processPlayerSkillUp(Net::MessageIn &msg) { - const int skillId = msg.readInt16(); - const int level = msg.readInt16(); - const int sp = msg.readInt16(); - const int range = msg.readInt16(); - const int up = msg.readUInt8(); + const int skillId = msg.readInt16("skill id"); + const int level = msg.readInt16("skill level"); + const int sp = msg.readInt16("sp"); + const int range = msg.readInt16("range"); + const int up = msg.readUInt8("up flag"); if (skillDialog && PlayerInfo::getSkillLevel(skillId) != level) skillDialog->playUpdateEffect(skillId); -- cgit v1.2.3-70-g09d2