]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
-Added 2 builtins to make the hostcache stuff easier extensible.
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index d45fe0edd9bb63860898be780c48b8766501250b..a1a9d129ac587f20359b4bd23692fe9adeb16cf2 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);
@@ -942,7 +942,6 @@ void Host_Init (void)
        if (cls.state != ca_dedicated)
        {
                VID_Open();
-               CL_Video_Init();
                CL_InitTEnts ();  // We must wait after sound startup to load tent sounds
                SCR_BeginLoadingPlaque();
                MR_Init();
@@ -1023,6 +1022,7 @@ void Host_Shutdown(void)
                VID_Shutdown();
        }
 
+       Cmd_Shutdown();
        Sys_Shutdown();
        Log_Close ();
 }