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/windows | |
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/windows')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 091c6c1d9..3567a23bb 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -330,6 +330,8 @@ void SkillDialog::loadXmlFile(const std::string &fileName) node, "castingSrcEffectId", -1); skill->castingDstEffectId = XML::getProperty( node, "castingDstEffectId", -1); + skill->useTextParameter = XML::getBoolProperty( + node, "useTextParameter", false); skill->visible = skill->alwaysVisible; model->addSkill(skill); mSkills[id] = skill; |