]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
cl_screen: Fix compile warning
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 26 Jul 2020 16:01:31 +0000 (16:01 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 26 Jul 2020 16:01:31 +0000 (16:01 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12881 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index eb2c10314e3edd6dd149c4316960a821d6664464..67a9609d328aa7cb09f64ab4051233eb4969a516 100644 (file)
@@ -2260,7 +2260,7 @@ 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 && key_dest != key_game || key_consoleactive)
+       if (cl.islocalgame && (key_dest != key_game || key_consoleactive))
                host.paused = true;
        else
                host.paused = false;