mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- added a check to output a clear error message if no IWAD definitions could be loaded.
SVN r3119 (trunk)
This commit is contained in:
parent
07eed2f2be
commit
6056393af7
1 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue