diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-20 17:55:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-20 17:55:42 +0300 |
commit | 5f7a8dd28733fd460578e43c6b2ea4990afa0670 (patch) | |
tree | 0263f50e8a566af4b8d081889316a05e1f048dab /src/net/ea/skillhandler.cpp | |
parent | c958cb619f667851b188b8c169d0fcb14500f6de (diff) | |
download | manaverse-5f7a8dd28733fd460578e43c6b2ea4990afa0670.tar.gz manaverse-5f7a8dd28733fd460578e43c6b2ea4990afa0670.tar.bz2 manaverse-5f7a8dd28733fd460578e43c6b2ea4990afa0670.tar.xz manaverse-5f7a8dd28733fd460578e43c6b2ea4990afa0670.zip |
Use skill owner field in most functions.
Diffstat (limited to 'src/net/ea/skillhandler.cpp')
-rw-r--r-- | src/net/ea/skillhandler.cpp | 3 |
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); } } |