From 6b2addaade053d347816d5d61dff53e38ff94e83 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 Oct 2014 19:53:22 +0300 Subject: Add skill attribute what show skill always. It allow use always visible fake skills. New skill attribute: alwaysVisible. --- src/gui/widgets/skillinfo.cpp | 3 ++- src/gui/widgets/skillinfo.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/skillinfo.cpp b/src/gui/widgets/skillinfo.cpp index 36ae85de9..50725db29 100644 --- a/src/gui/widgets/skillinfo.cpp +++ b/src/gui/widgets/skillinfo.cpp @@ -57,7 +57,8 @@ SkillInfo::SkillInfo() : type(SkillType::Unknown), owner(SkillOwner::Player), modifiable(false), - visible(false) + visible(false), + alwaysVisible(false) { dataMap[0] = new SkillData(); data = dataMap[0]; diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h index c67e055e0..45b0487c8 100644 --- a/src/gui/widgets/skillinfo.h +++ b/src/gui/widgets/skillinfo.h @@ -66,6 +66,7 @@ struct SkillInfo final SkillOwner::Type owner; bool modifiable; bool visible; + bool alwaysVisible; SkillInfo(); A_DELETE_COPY(SkillInfo) -- cgit v1.2.3-70-g09d2