Set console output priority to highest given option rather than most recently specified
This commit is contained in:
parent
e29cddd524
commit
da0b746037
|
@ -351,9 +351,15 @@ static void ReadCmdArgs(Inilist &ini, Arglist &Args)
|
|||
// Debug Options
|
||||
|
||||
else if (!d_stricmp(p, "-debug"))
|
||||
{
|
||||
if (CGameArg.DbgVerbose < CON_DEBUG)
|
||||
CGameArg.DbgVerbose = CON_DEBUG;
|
||||
}
|
||||
else if (!d_stricmp(p, "-verbose"))
|
||||
{
|
||||
if (CGameArg.DbgVerbose < CON_VERBOSE)
|
||||
CGameArg.DbgVerbose = CON_VERBOSE;
|
||||
}
|
||||
|
||||
else if (!d_stricmp(p, "-no-grab"))
|
||||
CGameArg.DbgForbidConsoleGrab = true;
|
||||
|
|
Loading…
Reference in a new issue