]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
that was missing in 7372 (TAB should also hide the centerprinting of finale)
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 May 2007 09:22:07 +0000 (09:22 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 May 2007 09:22:07 +0000 (09:22 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7376 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index 6599c20f0c7eed9a52c3d073759c779c406dd224..59809c91b719e1ccdfaa7829380fd57666bcae48 100644 (file)
@@ -112,10 +112,9 @@ void SCR_DrawCenterString (void)
        int             remaining;
        int             color;
 
-       if(gamemode == GAME_NEXUIZ)
-               if(cl.intermission == 2) // in Nexuiz finale (voting screen),
-                       if(sb_showscores) // make TAB hide vote messages
-                               return;
+       if(cl.intermission == 2) // in finale,
+               if(sb_showscores) // make TAB hide the finale message (sb_showscores overrides finale in sbar.c)
+                       return;
 
 // the finale prints the characters one at a time, except if printspeed is an absurdly high value
        if (cl.intermission && scr_printspeed.value > 0 && scr_printspeed.value < 1000000)