Fix: Don't complain if CAT music files are missing entirely

Just complain if an index into a CAT file that exists is invalid.
This commit is contained in:
Niels Martin Hansen
2018-06-07 21:34:24 +02:00
committed by Michael Lutz
parent a1b7812c7e
commit 5ab06ef8a3
3 changed files with 7 additions and 3 deletions

View File

@@ -129,7 +129,8 @@ bool BaseSet<T, Tnum_files, Tsearch_in_tars>::FillSetDetails(IniFile *ini, const
file->missing_warning = stredup(item->value);
}
switch (T::CheckMD5(file, BASESET_DIR)) {
file->check_result = T::CheckMD5(file, BASESET_DIR);
switch (file->check_result) {
case MD5File::CR_MATCH:
this->valid_files++;
this->found_files++;