summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.cpp
diff options
context:
space:
mode:
authorPrzemysław Grzywacz <nexather@gmail.com>2013-04-29 22:32:30 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-04-29 22:48:39 +0200
commit8f67f2179dd1038f44d4ad3506ff33e9cf2dddbf (patch)
treeabac567dd9bf5b6f1750c0a764caed426e261000 /src/gui/skilldialog.cpp
parent4b0f15a3767a2309c433aa77bdeea04c56824322 (diff)
downloadmana-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/skilldialog.cpp')
-rw-r--r--src/gui/skilldialog.cpp3
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));