diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-12 01:15:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-12 01:15:01 +0300 |
commit | b73e6b64694fab45242835f27e156bc2ac58c629 (patch) | |
tree | bb75ff8ddb6eaaa704ff41e40a34dc96b1d417fb /src/resources | |
parent | 07c62ac076c698cb7d6a4f8ceed616d982421f14 (diff) | |
download | plus-b73e6b64694fab45242835f27e156bc2ac58c629.tar.gz plus-b73e6b64694fab45242835f27e156bc2ac58c629.tar.bz2 plus-b73e6b64694fab45242835f27e156bc2ac58c629.tar.xz plus-b73e6b64694fab45242835f27e156bc2ac58c629.zip |
Fix asserts in SkilUnitDB.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/db/skillunitdb.cpp | 4 |
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; } |