]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix continual setting of sys_ticrate to 0.01 due to float rounding errors (now has...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 8 Mar 2005 02:48:26 +0000 (02:48 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 8 Mar 2005 02:48:26 +0000 (02:48 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5055 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index c808ea77ff15c51e0d0d00a4fd3aa3e1247f6bca..c1aeccfd10d42fbe83586d1b9c887dc54f532812 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.10001)
+       if (sys_ticrate.value < 0.00999 || 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);