mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Issue #39. Fixed some overlaps not being registered.
This commit is contained in:
@@ -56,14 +56,14 @@ namespace boss {
|
||||
++it) {
|
||||
list<Plugin>::const_iterator jt = it;
|
||||
++jt;
|
||||
for (jt, endit; jt != endit; ++jt) {
|
||||
BOOST_LOG_TRIVIAL(trace) << "Checking for FormID overlap between \"" << it->Name() << "\" and \"" << jt->Name() << "\".";
|
||||
for (; jt != endit; ++jt) {
|
||||
BOOST_LOG_TRIVIAL(trace) << "Checking for FormID overlap between \"" << it->Name() << "\" and \"" << jt->Name() << "\".";
|
||||
if (it->DoFormIDsOverlap(*jt)) {
|
||||
std::string key;
|
||||
std::string value;
|
||||
//Priority values should override the number of override records as the deciding factor if they differ.
|
||||
if (it->MustLoadAfter(*jt) || jt->MustLoadAfter(*it))
|
||||
break;
|
||||
continue;
|
||||
if (it->Priority() < jt->Priority()) {
|
||||
key = jt->Name();
|
||||
value = it->Name();
|
||||
|
||||
Reference in New Issue
Block a user