- demote pwad defcvars error to a warning

This commit is contained in:
Rachael Alexanderson 2020-08-01 17:30:19 +02:00 committed by drfrag
parent 2cc9c0bbde
commit 3197679114

View file

@ -2008,7 +2008,11 @@ void C_GrabCVarDefaults ()
{ {
// don't parse from wads // don't parse from wads
if (lastlump > Wads.GetLastLump(Wads.GetIwadNum())) if (lastlump > Wads.GetLastLump(Wads.GetIwadNum()))
I_FatalError("Cannot load DEFCVARS from a wadfile!\n"); {
// would rather put this in a modal of some sort, but this will have to do.
Printf(TEXTCOLOR_RED "Cannot load DEFCVARS from a wadfile!\n");
break;
}
FScanner sc(lump); FScanner sc(lump);