Removed check for duplicate IWADs

Skipping of duplicate IWADs seems to serve a cosmetic purpose only but it caused troubles with custom IWADs
https://forum.zdoom.org/viewtopic.php?t=58333
This commit is contained in:
alexey.lysiuk 2018-03-31 15:25:25 +03:00
parent ca0e39cd0c
commit b36fc82fff

View file

@ -348,13 +348,6 @@ int FIWadManager::CheckIWADInfo(const char *fn)
FIWADInfo result;
ParseIWadInfo(resfile->Filename, (const char*)lmp->CacheLump(), lmp->LumpSize, &result);
delete resfile;
for (auto &wadinf : mIWadInfos)
{
if (wadinf.Name == result.Name)
{
return -1; // do not show the same one twice.
}
}
return mIWadInfos.Push(result);
}
catch (CRecoverableError &err)