From: cloudwalk Date: Mon, 25 May 2020 12:51:08 +0000 (+0000) Subject: Fix visual regression where parts of the Xonotic menu lacked transparency. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b64a47fd50ff44fcbd04b6a4288eba135177081a;p=xonotic%2Fdarkplaces.git 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 --- 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;