]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
code-only change of the loading screen, no visual change
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 6 Apr 2009 14:37:50 +0000 (14:37 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 6 Apr 2009 14:37:50 +0000 (14:37 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8879 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index ab7934f104a43b7cb156a2a2f907b1d39c340081..9caa2cd708dc4feffa5504063a317092d4ac3cc5 100644 (file)
@@ -1791,9 +1791,9 @@ static void SCR_DrawLoadingStack()
                verts[7] = verts[10] = vid_conheight.integer;
 
                for(i = 0; i < 16; ++i)
-                       colors[i] = (i % 4 == 3) || (i >= 8 && i % 4 == 2);
-                       //                                     ^^^^^^^^^^ blue component
-                       //                           ^^^^^^ bottom row
+                       colors[i] = (i % 4 == 3) ? 1 : (i >= 8 && i % 4 == 2) ? 1 : 0;
+                       //                                        ^^^^^^^^^^ blue component
+                       //                              ^^^^^^ bottom row
                        //          ^^^^^^^^^^^^ alpha is always on
                R_Mesh_Draw(0, 4, 0, 2, NULL, polygonelements, 0, 0);