- added a check to output a clear error message if no IWAD definitions could be loaded.

SVN r3119 (trunk)
This commit is contained in:
Christoph Oelckers 2011-01-23 08:49:30 +00:00
parent 07eed2f2be
commit 6056393af7

View file

@ -269,6 +269,10 @@ void FIWadManager::ParseIWadInfos(const char *fn)
}
delete resfile;
}
if (mIWadNames.Size() == 0 || mIWads.Size() == 0)
{
I_FatalError("No IWAD definitions found");
}
}