Add DLC language packs to orphan check

Forgot to add DLC language packs to Downloader::checkOrphans in ff2264763e4f1b1009eb10510a0d6dd738711e26
This commit is contained in:
Sude 2016-06-01 14:25:05 +03:00
parent ff2264763e
commit 60fb4db339

View File

@ -2101,11 +2101,12 @@ void Downloader::checkOrphans()
{ // Check dlcs { // Check dlcs
for (unsigned int k = 0; k < games[i].dlcs.size(); ++k) for (unsigned int k = 0; k < games[i].dlcs.size(); ++k)
{ {
bFoundFile = isPresent(games[i].dlcs[k].installers, filepath_vector[j], config.blacklist) bFoundFile = isPresent(games[i].dlcs[k].installers, filepath_vector[j], config.blacklist)
|| isPresent(games[i].dlcs[k].extras, filepath_vector[j], config.blacklist) || isPresent(games[i].dlcs[k].extras, filepath_vector[j], config.blacklist)
|| isPresent(games[i].dlcs[k].patches, filepath_vector[j], config.blacklist); || isPresent(games[i].dlcs[k].patches, filepath_vector[j], config.blacklist)
if(bFoundFile) || isPresent(games[i].dlcs[k].languagepacks, filepath_vector[j], config.blacklist);
break; if(bFoundFile)
break;
} }
} }
if (!bFoundFile) if (!bFoundFile)