summaryrefslogtreecommitdiff
path: root/src/resources/specialdb.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/resources/specialdb.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/resources/specialdb.cpp')
-rw-r--r--src/resources/specialdb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/specialdb.cpp b/src/resources/specialdb.cpp
index 426a1143..c75f4b1b 100644
--- a/src/resources/specialdb.cpp
+++ b/src/resources/specialdb.cpp
@@ -61,7 +61,8 @@ void SpecialDB::load()
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 "special-set"))
{
setName = XML::getProperty(set, "name", "Actions");