summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 11:55:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 11:55:18 +0300
commitc81a850333f6e651e0dddb764e98a0fae45ca5f4 (patch)
treeac98be24124ca89f9cf02e7840d2e772ab7fc93c /src/gui/windows
parent616ab2676cc932ab59152c510d584c429090987a (diff)
downloadplus-c81a850333f6e651e0dddb764e98a0fae45ca5f4.tar.gz
plus-c81a850333f6e651e0dddb764e98a0fae45ca5f4.tar.bz2
plus-c81a850333f6e651e0dddb764e98a0fae45ca5f4.tar.xz
plus-c81a850333f6e651e0dddb764e98a0fae45ca5f4.zip
Remove getter for skillHandler.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/skilldialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index 759efe7cf..07a60b594 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -505,13 +505,13 @@ void SkillDialog::useSkill(const SkillInfo *const info)
const Being *const being = localPlayer->getTarget();
if (being)
{
- Net::getSkillHandler()->useBeing(info->level,
+ skillHandler->useBeing(info->level,
info->id, being->getId());
}
break;
}
case SkillType::Self:
- Net::getSkillHandler()->useBeing(info->level,
+ skillHandler->useBeing(info->level,
info->id, localPlayer->getId());
break;