diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-09 14:37:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-09 14:37:41 +0300 |
commit | e0baa7398ca03060e5fe11c7647ae80ae258beeb (patch) | |
tree | 0fd71caa9678ec4fa4f44964229e374627f294dd /src/resources/db | |
parent | 46585d7c62a53bfaf5173aa4e67d64735af1d2ed (diff) | |
download | manaverse-e0baa7398ca03060e5fe11c7647ae80ae258beeb.tar.gz manaverse-e0baa7398ca03060e5fe11c7647ae80ae258beeb.tar.bz2 manaverse-e0baa7398ca03060e5fe11c7647ae80ae258beeb.tar.xz manaverse-e0baa7398ca03060e5fe11c7647ae80ae258beeb.zip |
add support for localdir option in moddb.
Diffstat (limited to 'src/resources/db')
-rw-r--r-- | src/resources/db/moddb.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/db/moddb.cpp b/src/resources/db/moddb.cpp index aa785afdb..32846696b 100644 --- a/src/resources/db/moddb.cpp +++ b/src/resources/db/moddb.cpp @@ -83,10 +83,12 @@ void ModDB::loadXmlFile(const std::string &fileName) currentInfo = new ModInfo; currentInfo->setName(name); - currentInfo->setDescription(XML::getProperty( + currentInfo->setDescription(XML::langProperty( modNode, "description", "")); currentInfo->setHelp(XML::getProperty( modNode, "help", "")); + currentInfo->setLocalDir(XML::getProperty( + modNode, "localdir", "")); mModInfos[name] = currentInfo; } |