mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
Fixed detection of the first entry from internal IWADINFO
https://forum.zdoom.org/viewtopic.php?t=58333
This commit is contained in:
parent
0dcb1fe74c
commit
80b47cafb4
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ int FIWadManager::IdentifyVersion (TArray<FString> &wadfiles, const char *iwad,
|
|||
// We have a -iwad parameter. Pick the first usable IWAD we found through that.
|
||||
for (unsigned i = numFoundWads; i < mFoundWads.Size(); i++)
|
||||
{
|
||||
if (mFoundWads[i].mInfoIndex > 0)
|
||||
if (mFoundWads[i].mInfoIndex >= 0)
|
||||
{
|
||||
picks.Push(mFoundWads[i]);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue