summaryrefslogtreecommitdiff
path: root/src/net/tmwa/skillhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/skillhandler.cpp')
-rw-r--r--src/net/tmwa/skillhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/tmwa/skillhandler.cpp b/src/net/tmwa/skillhandler.cpp
index 05f7b0d90..bfedcf927 100644
--- a/src/net/tmwa/skillhandler.cpp
+++ b/src/net/tmwa/skillhandler.cpp
@@ -136,7 +136,10 @@ void SkillHandler::processPlayerSkills(Net::MessageIn &msg)
if (skillDialog)
{
if (!skillDialog->updateSkill(skillId, range, up, inf, sp))
- skillDialog->addSkill(skillId, "", level, range, up, inf, sp);
+ {
+ skillDialog->addSkill(SkillOwner::Player,
+ skillId, "", level, range, up, inf, sp);
+ }
}
}
if (updateSkill && skillDialog)