summaryrefslogtreecommitdiff
path: root/src/resources/db/skillunitdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-12 01:15:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-12 01:15:01 +0300
commitb73e6b64694fab45242835f27e156bc2ac58c629 (patch)
treebb75ff8ddb6eaaa704ff41e40a34dc96b1d417fb /src/resources/db/skillunitdb.cpp
parent07c62ac076c698cb7d6a4f8ceed616d982421f14 (diff)
downloadmv-b73e6b64694fab45242835f27e156bc2ac58c629.tar.gz
mv-b73e6b64694fab45242835f27e156bc2ac58c629.tar.bz2
mv-b73e6b64694fab45242835f27e156bc2ac58c629.tar.xz
mv-b73e6b64694fab45242835f27e156bc2ac58c629.zip
Fix asserts in SkilUnitDB.
Diffstat (limited to 'src/resources/db/skillunitdb.cpp')
-rw-r--r--src/resources/db/skillunitdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/db/skillunitdb.cpp b/src/resources/db/skillunitdb.cpp
index 16a080abd..2444aa902 100644
--- a/src/resources/db/skillunitdb.cpp
+++ b/src/resources/db/skillunitdb.cpp
@@ -47,8 +47,8 @@ void SkillUnitDb::load()
unload();
logger->log1("Initializing skill unit database...");
- loadXmlFile(paths.getStringValue("skillUnitsFile"), SkipError_true);
- loadXmlFile(paths.getStringValue("skillUnitsPatchFile"), SkipError_false);
+ loadXmlFile(paths.getStringValue("skillUnitsFile"), SkipError_false);
+ loadXmlFile(paths.getStringValue("skillUnitsPatchFile"), SkipError_true);
loadXmlDir("skillUnitsPatchDir", loadXmlFile);
mLoaded = true;
}