Library: Fixed bug. Continue if there is no errors.

This commit is contained in:
Daniel Marjamäki 2013-10-27 17:38:39 +01:00
parent bd752cabcf
commit 514277e91b
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ bool Library::load(const char exename[], const char path[])
}
}
return (error != tinyxml2::XML_NO_ERROR) && load(doc);
return (error == tinyxml2::XML_NO_ERROR) && load(doc);
}
bool Library::load(const tinyxml2::XMLDocument &doc)