fix for dedicated server spewing error about cl_avidemo
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 1 Apr 2002 08:58:47 +0000 (08:58 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 1 Apr 2002 08:58:47 +0000 (08:58 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1696 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index 94947a9..28ff3f1 100644 (file)
--- a/host.c
+++ b/host.c
@@ -537,7 +537,7 @@ qboolean Host_FilterTime (double time)
                Cvar_SetValue("host_minfps", 10.0f);
        if (host_maxfps.value < host_minfps.value)
                Cvar_SetValue("host_maxfps", host_minfps.value);
-       if (cl_avidemo.value < 0.1f)
+       if (cl_avidemo.value < 0.1f && cl_avidemo.value != 0.0f)
                Cvar_SetValue("cl_avidemo", 0.0f);
 
        // check if framerate is too high