mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 14:41:40 +00:00
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:
parent
ca0e39cd0c
commit
b36fc82fff
1 changed files with 0 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue