Skip to content

Commit

Permalink
Fixed name comparison in checking of IWADINFO lump
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Sep 16, 2017
1 parent afab50b commit 1eda8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d_iwad.cpp
Expand Up @@ -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.
}
Expand Down

0 comments on commit 1eda8ab

Please sign in to comment.