Append orphaned dialogue instead of always appending it

fix/shrink_builds
Evil Eye 3 years ago
parent c7449dc272
commit 10e4eb8e8e

@ -102,10 +102,12 @@ namespace ESM
auto it = lookup->second.first;
mLookup[info.mId] = std::make_pair(mInfo.insert(++it, info), isDeleted);
return;
}
else
mLookup[info.mId] = std::make_pair(mInfo.insert(mInfo.end(), info), isDeleted);
}
mLookup[info.mId] = std::make_pair(mInfo.insert(mInfo.begin(), info), isDeleted);
else
mLookup[info.mId] = std::make_pair(mInfo.insert(mInfo.begin(), info), isDeleted);
}
void Dialogue::clearDeletedInfos()

Loading…
Cancel
Save