mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
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:
commit
fc1cc9ffe5
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ static void COM_ExecuteString(char *ptext)
|
||||||
// check cvars
|
// check cvars
|
||||||
// Hurdler: added at Ebola's request ;)
|
// Hurdler: added at Ebola's request ;)
|
||||||
// (don't flood the console in software mode with bad gl_xxx command)
|
// (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));
|
CONS_Printf(M_GetText("Unknown command '%s'\n"), COM_Argv(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue