- demote unknown/invalid defcvars to warnings

This commit is contained in:
Rachael Alexanderson 2021-09-05 09:40:59 -04:00
parent 79cbaf5d4f
commit 42d948f2fe

View file

@ -35,7 +35,6 @@
#include "d_main.h" #include "d_main.h"
#include "version.h" #include "version.h"
void D_GrabCVarDefaults() void D_GrabCVarDefaults()
{ {
int lump, lastlump = 0; int lump, lastlump = 0;
@ -118,12 +117,12 @@ void D_GrabCVarDefaults()
} }
else else
{ {
sc.ScriptError("Cannot set cvar default for non-config cvar '%s'", sc.String); sc.ScriptMessage("Cannot set cvar default for non-config cvar '%s'", sc.String);
} }
} }
else else
{ {
sc.ScriptError("Unknown cvar '%s'", sc.String); sc.ScriptMessage("Unknown cvar '%s' in defcvars", sc.String);
} }
} }
} }