From: divverent Date: Mon, 6 Apr 2009 14:37:50 +0000 (+0000) Subject: code-only change of the loading screen, no visual change X-Git-Tag: xonotic-v0.1.0preview~1730 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f3bcb973304c8d33eb7b4618ae2109f74d8f6753;p=xonotic%2Fdarkplaces.git code-only change of the loading screen, no visual change git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8879 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_screen.c b/cl_screen.c index ab7934f1..9caa2cd7 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -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);