From b64a47fd50ff44fcbd04b6a4288eba135177081a Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 25 May 2020 12:51:08 +0000 Subject: [PATCH] Fix visual regression where parts of the Xonotic menu lacked transparency. Set ent->render.alpha to its old value of 0.999999f. This doesn't seem to break anything else, or anything that was recently fixed. There's probably a better fix, but this is simple and seems to work for now. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12572 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_main.c b/cl_main.c index e710a1ca..2aede84a 100644 --- a/cl_main.c +++ b/cl_main.c @@ -2401,7 +2401,7 @@ static void CL_MeshEntities_Init(void) ent->state_current.active = true; ent->render.model = cl_meshentitymodels + i; Mod_Mesh_Create(ent->render.model, cl_meshentitynames[i]); - ent->render.alpha = 1; + ent->render.alpha = 0.999999f; ent->render.flags = RENDER_SHADOW | RENDER_LIGHT; ent->render.framegroupblend[0].lerp = 1; ent->render.frameblend[0].lerp = 1; -- 2.39.2