mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Fixed name comparison in checking of IWADINFO lump
https://forum.zdoom.org/viewtopic.php?t=57835
This commit is contained in:
parent
afab50b489
commit
1eda8aba6b
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ int FIWadManager::CheckIWADInfo(const char *fn)
|
|||
delete resfile;
|
||||
for (auto &wadinf : mIWadInfos)
|
||||
{
|
||||
if (wadinf.Name.Compare(result.Name))
|
||||
if (wadinf.Name == result.Name)
|
||||
{
|
||||
return -1; // do not show the same one twice.
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue