summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-29 01:33:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-29 18:12:36 +0300
commit2774a0c9ea6b06c000c60dbcc602862ced0a17b8 (patch)
tree8b4b6b137a0f8a4a4bee502b839602b2ee5d5e21 /src/gui/windows
parentffaadb3ddad5b8577786f7176e4415db68f115f0 (diff)
downloadplus-2774a0c9ea6b06c000c60dbcc602862ced0a17b8.tar.gz
plus-2774a0c9ea6b06c000c60dbcc602862ced0a17b8.tar.bz2
plus-2774a0c9ea6b06c000c60dbcc602862ced0a17b8.tar.xz
plus-2774a0c9ea6b06c000c60dbcc602862ced0a17b8.zip
Fix skill using to being.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/skilldialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index 514bd101b..297bc0049 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -590,14 +590,14 @@ void SkillDialog::useSkill(const SkillInfo *const info)
const Being *const being = localPlayer->getTarget();
if (being)
{
- skillHandler->useBeing(info->level,
- info->id, being->getId());
+ skillHandler->useBeing(info->id,
+ info->level, being->getId());
}
break;
}
case SkillType::Self:
- skillHandler->useBeing(info->level,
- info->id, localPlayer->getId());
+ skillHandler->useBeing(info->id,
+ info->level, localPlayer->getId());
break;
case SkillType::Ground: