From 883825d1589ca51dd2fb63ebf03ce5bef16c90cf Mon Sep 17 00:00:00 2001 From: tomaz Date: Sat, 18 Dec 2004 21:17:47 +0000 Subject: [PATCH] Fixed the sys_ticrate bounds checking, it was constantly setting it to 0.1 when it is already 0.1 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4857 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host.c b/host.c index d45fe0ed..12e19eee 100644 --- 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); -- 2.39.2