Merge branch 'unknown-command-dedicated-print' into 'next'

Fix "unknown command" not being printed on dedicated

See merge request STJr/SRB2!1771
This commit is contained in:
sphere 2022-09-06 15:19:11 +00:00
commit fc1cc9ffe5

View file

@ -660,7 +660,7 @@ static void COM_ExecuteString(char *ptext)
// check cvars
// Hurdler: added at Ebola's request ;)
// (don't flood the console in software mode with bad gl_xxx command)
if (!CV_Command() && con_destlines)
if (!CV_Command() && (con_destlines || dedicated))
CONS_Printf(M_GetText("Unknown command '%s'\n"), COM_Argv(0));
}