diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-12 19:37:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-12 19:37:58 +0300 |
commit | 02f3db43e3cdf991f61778083c955ec7dadff446 (patch) | |
tree | 3a9eece747ab4cd42cc66796e88e053c84c2ac4e /src/gui/widgets | |
parent | 388f348acf3aeb954dae3160efeb6a8cd5fe6e4a (diff) | |
download | manaverse-02f3db43e3cdf991f61778083c955ec7dadff446.tar.gz manaverse-02f3db43e3cdf991f61778083c955ec7dadff446.tar.bz2 manaverse-02f3db43e3cdf991f61778083c955ec7dadff446.tar.xz manaverse-02f3db43e3cdf991f61778083c955ec7dadff446.zip |
Add skill xml flag useTextParameter.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/skillinfo.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/skillinfo.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/skillinfo.cpp b/src/gui/widgets/skillinfo.cpp index 92d753c4d..5e64103a9 100644 --- a/src/gui/widgets/skillinfo.cpp +++ b/src/gui/widgets/skillinfo.cpp @@ -55,7 +55,8 @@ SkillInfo::SkillInfo() : owner(SkillOwner::Player), modifiable(Modifiable_false), visible(Visible_false), - alwaysVisible(Visible_false) + alwaysVisible(Visible_false), + useTextParameter(false) { dataMap[0] = new SkillData(); data = dataMap[0]; diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h index f0e356a58..7b8faa7e4 100644 --- a/src/gui/widgets/skillinfo.h +++ b/src/gui/widgets/skillinfo.h @@ -67,6 +67,7 @@ struct SkillInfo final Modifiable modifiable; Visible visible; Visible alwaysVisible; + bool useTextParameter; SkillInfo(); A_DELETE_COPY(SkillInfo) |