summaryrefslogtreecommitdiff
path: root/src/net/ea/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-05 12:08:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:57 +0300
commit57978a09e9d32a44a95823716d790065d73f977a (patch)
tree0d89ebeebb91b86fd2c16fa9066b5a08fd7e4f73 /src/net/ea/skillhandler.cpp
parent3b1d570f626786d141d99a7923669e82e0c125ca (diff)
downloadplus-57978a09e9d32a44a95823716d790065d73f977a.tar.gz
plus-57978a09e9d32a44a95823716d790065d73f977a.tar.bz2
plus-57978a09e9d32a44a95823716d790065d73f977a.tar.xz
plus-57978a09e9d32a44a95823716d790065d73f977a.zip
Add skill type reading from server
Diffstat (limited to 'src/net/ea/skillhandler.cpp')
-rw-r--r--src/net/ea/skillhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/skillhandler.cpp b/src/net/ea/skillhandler.cpp
index 5197cff30..f3c2a6982 100644
--- a/src/net/ea/skillhandler.cpp
+++ b/src/net/ea/skillhandler.cpp
@@ -88,8 +88,8 @@ void SkillHandler::processPlayerSkillUp(Net::MessageIn &msg)
PlayerInfo::setSkillLevel(skillId, level);
if (skillDialog)
{
- if (!skillDialog->updateSkill(skillId, range, up))
- skillDialog->addSkill(skillId, "", level, range, up);
+ if (!skillDialog->updateSkill(skillId, range, up, 0))
+ skillDialog->addSkill(skillId, "", level, range, up, 0);
}
}