From b73e6b64694fab45242835f27e156bc2ac58c629 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 May 2016 01:15:01 +0300 Subject: Fix asserts in SkilUnitDB. --- src/resources/db/skillunitdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2