- Fixed: Passing hexdd.wad with a path to the -iwad parameter would disable searching the standard

paths for hexen.wad.

SVN r3541 (trunk)
This commit is contained in:
Randy Heit 2012-04-08 05:12:03 +00:00
parent d6c3d77a38
commit c175acb75d

View file

@ -413,7 +413,7 @@ int FIWadManager::IdentifyVersion (TArray<FString> &wadfiles, const char *iwad,
}
}
if (iwadparm == NULL || wads[0].Path.IsEmpty())
if (iwadparm == NULL || wads[0].Path.IsEmpty() || mIWads[wads[0].Type].Required.IsNotEmpty())
{
if (GameConfig->SetSection ("IWADSearch.Directories"))
{