mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 12:30:32 +00:00
- Present the iwad selection box also with only one iwad.
This commit is contained in:
parent
049090a314
commit
524d8ee524
1 changed files with 3 additions and 3 deletions
|
@ -686,8 +686,8 @@ int FIWadManager::IdentifyVersion (TArray<FString> &wadfiles, const char *iwad,
|
|||
}
|
||||
int pick = 0;
|
||||
|
||||
// We got more than one so present the IWAD selection box.
|
||||
if (picks.Size() > 1)
|
||||
// Present the IWAD selection box.
|
||||
if (picks.Size() > 0)
|
||||
{
|
||||
// Locate the user's prefered IWAD, if it was found.
|
||||
if (defaultiwad[0] != '\0')
|
||||
|
@ -702,7 +702,7 @@ int FIWadManager::IdentifyVersion (TArray<FString> &wadfiles, const char *iwad,
|
|||
}
|
||||
}
|
||||
}
|
||||
if (picks.Size() > 1)
|
||||
if (picks.Size() > 0)
|
||||
{
|
||||
if (!havepicked)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue