From f3bcb973304c8d33eb7b4618ae2109f74d8f6753 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 6 Apr 2009 14:37:50 +0000 Subject: [PATCH] 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 --- cl_screen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.2