Fix console colors not working before an iwad has been selected

This commit is contained in:
Magnus Norddahl 2025-01-06 06:22:31 +01:00
commit 306303b9a6
16 changed files with 268 additions and 127 deletions

View file

@ -757,6 +757,12 @@ int FIWadManager::IdentifyVersion (std::vector<std::string>&wadfiles, const char
if (alwaysshow || picks.Size() > 1)
{
if (RunningAsTool)
{
Printf("Please specify which iwad to use with -iwad\n");
return -1;
}
// Locate the user's prefered IWAD, if it was found.
if (defaultiwad[0] != '\0')
{