]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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 6e82998478d257b2566922ac3232db367d8d7050..40d1b72d40afd524ed665e1c02a6033faaebe07e 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;