hush "Unknown command" warnings during startup
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2005 20:01:55 +0000 (20:01 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2005 20:01:55 +0000 (20:01 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5240 d7cf8633-e32d-0410-b094-e92efae38249

cmd.c

diff --git a/cmd.c b/cmd.c
index 6e82998..40d1b72 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -840,7 +840,7 @@ void Cmd_ExecuteString (const char *text, cmd_source_t src)
        }
 
 // check cvars
-       if (!Cvar_Command ())
+       if (!Cvar_Command () && host_framecount > 0)
                Con_Printf("Unknown command \"%s\"\n", Cmd_Argv(0));
 
        cmd_tokenizebufferpos = oldpos;