mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-12 13:42:53 +00:00
- demote unknown/invalid defcvars to warnings
This commit is contained in:
parent
79cbaf5d4f
commit
42d948f2fe
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue