mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Don't spam those q3-assosiated 'cmd already registered' messages
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2026 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b1a5aab4f8
commit
7e1ecfcb2f
1 changed files with 4 additions and 1 deletions
|
@ -1262,6 +1262,9 @@ qboolean Cmd_AddRemCommand (char *cmd_name, xcommand_t function)
|
|||
{
|
||||
if (!Q_strcmp (cmd_name, cmd->name))
|
||||
{
|
||||
if (cmd->function == function) //happens a lot with q3
|
||||
Con_DPrintf ("Cmd_AddCommand: %s already defined\n", cmd_name);
|
||||
else
|
||||
Con_Printf ("Cmd_AddCommand: %s already defined\n", cmd_name);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue