]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
host, csqc: Remove cl.csqc_paused. Use new global host.paused instead.
[xonotic/darkplaces.git] / cl_screen.c
index ac6b64307b41311c3786b0a6cd9f5e25bed906b7..208b6303668ee24438b6d07cefb792868c349f3f 100644 (file)
@@ -2259,6 +2259,14 @@ static void SCR_DrawScreen (void)
                if ((key_dest == key_game || key_dest == key_message) && !r_letterbox.value && !scr_loading)
                        Con_DrawNotify ();      // only draw notify in game
 
+       if(cl.islocalgame)
+       {
+               if (key_dest != key_game || key_consoleactive)
+                       host.paused = true;
+               else
+                       host.paused = false;
+       }
+       
        if (cls.signon == SIGNONS)
        {
                SCR_DrawNet ();