summaryrefslogtreecommitdiff
path: root/src/gui/widgets/skillinfo.h
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/widgets/skillinfo.h
parente0370f84531ba564224963f579921b126e620add (diff)
downloadmanaplus-8a23a928d99d79b0d48961a225c3656ca42f34f0.tar.gz
manaplus-8a23a928d99d79b0d48961a225c3656ca42f34f0.tar.bz2
manaplus-8a23a928d99d79b0d48961a225c3656ca42f34f0.tar.xz
manaplus-8a23a928d99d79b0d48961a225c3656ca42f34f0.zip
Allow use support skill.
Diffstat (limited to 'src/gui/widgets/skillinfo.h')
-rw-r--r--src/gui/widgets/skillinfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h
index aa92b4bcb..1d9dfeacd 100644
--- a/src/gui/widgets/skillinfo.h
+++ b/src/gui/widgets/skillinfo.h
@@ -72,7 +72,9 @@ struct SkillInfo final
bool isUsable() const A_WARN_UNUSED
{
- return type == SkillType::Attack || type == SkillType::Self;
+ return type == SkillType::Attack
+ || type == SkillType::Self
+ || type == SkillType::Support;
}
};