]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
cl_screen: Fix logic error preventing unpause if jumping to local MP from SP
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 26 Jul 2020 16:00:11 +0000 (16:00 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 26 Jul 2020 16:00:11 +0000 (16:00 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12878 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index fd4976b639be772533c30db0f4cac24705b66406..eb2c10314e3edd6dd149c4316960a821d6664464 100644 (file)
@@ -2260,14 +2260,11 @@ 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 (cl.islocalgame && key_dest != key_game || key_consoleactive)
+               host.paused = true;
+       else
+               host.paused = false;
+
        if (cls.signon == SIGNONS)
        {
                SCR_DrawNet ();