Added message for absent explicitly referenced dialog file

This commit is contained in:
alexey.lysiuk 2018-04-07 12:52:38 +03:00
parent 3239a9eaa6
commit cb3650ed9e

View file

@ -232,6 +232,11 @@ bool LoadScriptFile (const char *name, bool include, int type)
if (!found)
{
if (type == 0)
{
Printf(TEXTCOLOR_RED "Could not find dialog file %s", name);
}
return false;
}
FileReader lump = Wads.ReopenLumpReader (lumpnum);