diff options
author | Przemysław Grzywacz <nexather@gmail.com> | 2013-04-29 22:32:30 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-29 22:48:39 +0200 |
commit | 8f67f2179dd1038f44d4ad3506ff33e9cf2dddbf (patch) | |
tree | abac567dd9bf5b6f1750c0a764caed426e261000 /src/gui | |
parent | 4b0f15a3767a2309c433aa77bdeea04c56824322 (diff) | |
download | mana-8f67f2179dd1038f44d4ad3506ff33e9cf2dddbf.tar.gz mana-8f67f2179dd1038f44d4ad3506ff33e9cf2dddbf.tar.bz2 mana-8f67f2179dd1038f44d4ad3506ff33e9cf2dddbf.tar.xz mana-8f67f2179dd1038f44d4ad3506ff33e9cf2dddbf.zip |
Single xml solution - compatibility with skill-set and special-set
Mana-mantis: #506.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/skilldialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index 8c8abd19..a0c3e46b 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -368,7 +368,8 @@ void SkillDialog::loadSkills() for_each_xml_child_node(set, root) { - if (xmlStrEqual(set->name, BAD_CAST "set")) + if (xmlStrEqual(set->name, BAD_CAST "set") || + xmlStrEqual(set->name, BAD_CAST "skill-set")) { setCount++; setName = XML::getProperty(set, "name", strprintf(_("Skill Set %d"), setCount)); |