summaryrefslogtreecommitdiff
path: root/src/net/ea/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-20 17:55:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-20 17:55:42 +0300
commit5f7a8dd28733fd460578e43c6b2ea4990afa0670 (patch)
tree0263f50e8a566af4b8d081889316a05e1f048dab /src/net/ea/skillhandler.cpp
parentc958cb619f667851b188b8c169d0fcb14500f6de (diff)
downloadplus-5f7a8dd28733fd460578e43c6b2ea4990afa0670.tar.gz
plus-5f7a8dd28733fd460578e43c6b2ea4990afa0670.tar.bz2
plus-5f7a8dd28733fd460578e43c6b2ea4990afa0670.tar.xz
plus-5f7a8dd28733fd460578e43c6b2ea4990afa0670.zip
Use skill owner field in most functions.
Diffstat (limited to 'src/net/ea/skillhandler.cpp')
-rw-r--r--src/net/ea/skillhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/skillhandler.cpp b/src/net/ea/skillhandler.cpp
index 19f7d4d63..99fffac86 100644
--- a/src/net/ea/skillhandler.cpp
+++ b/src/net/ea/skillhandler.cpp
@@ -91,7 +91,8 @@ void SkillHandler::processPlayerSkillUp(Net::MessageIn &msg)
if (!skillDialog->updateSkill(skillId, range,
up, SkillType::Unknown, sp))
{
- skillDialog->addSkill(skillId, "", level,
+ skillDialog->addSkill(SkillOwner::Player,
+ skillId, "", level,
range, up, SkillType::Unknown, sp);
}
}