summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-06 12:19:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 12:19:23 +0300
commit8a23a928d99d79b0d48961a225c3656ca42f34f0 (patch)
tree2039479c68a381b3a655633c2eb0b4f54f42c195 /src/gui/windows/skilldialog.cpp
parente0370f84531ba564224963f579921b126e620add (diff)
downloadmv-8a23a928d99d79b0d48961a225c3656ca42f34f0.tar.gz
mv-8a23a928d99d79b0d48961a225c3656ca42f34f0.tar.bz2
mv-8a23a928d99d79b0d48961a225c3656ca42f34f0.tar.xz
mv-8a23a928d99d79b0d48961a225c3656ca42f34f0.zip
Allow use support skill.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r--src/gui/windows/skilldialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index a7ca3b8a0..35f33f63d 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -499,6 +499,7 @@ void SkillDialog::useSkill(const SkillInfo *const info)
switch (info->type)
{
case SkillType::Attack:
+ case SkillType::Support:
{
const Being *const being = localPlayer->getTarget();
if (being)
@@ -514,7 +515,6 @@ void SkillDialog::useSkill(const SkillInfo *const info)
break;
case SkillType::Ground:
- case SkillType::Support:
case SkillType::TargetTrap:
// for now unused
break;