]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fixed the sys_ticrate bounds checking, it was constantly setting it to 0.1 when it...
authortomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Dec 2004 21:17:47 +0000 (21:17 +0000)
committertomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Dec 2004 21:17:47 +0000 (21:17 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4857 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index d45fe0edd9bb63860898be780c48b8766501250b..12e19eee786dfa47d2bf0ecae0b5ae8b4ef0203c 100644 (file)
--- a/host.c
+++ b/host.c
@@ -563,7 +563,7 @@ qboolean Host_FilterTime (double time)
        double timecap, timeleft;
        realtime += time;
 
-       if (sys_ticrate.value < 0.01 || sys_ticrate.value > 0.1)
+       if (sys_ticrate.value < 0.01 || sys_ticrate.value > 0.10001)
                Cvar_SetValue("sys_ticrate", bound(0.01, sys_ticrate.value, 0.1));
        if (slowmo.value < 0)
                Cvar_SetValue("slowmo", 0);