]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Revert "Fix visual regression where parts of the Xonotic menu lacked transparency."
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 25 May 2020 23:19:39 +0000 (23:19 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 25 May 2020 23:19:39 +0000 (23:19 +0000)
This reverts commit b64a47fd50ff44fcbd04b6a4288eba135177081a.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12582 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index d0c12fca8e1597a1765e37226da94cbfd20022c4..fc03dc6978b59ad661ede6dbbc1b2c35529e9f9b 100644 (file)
--- 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 = 0.999999f;
+               ent->render.alpha = 1;
                ent->render.flags = RENDER_SHADOW | RENDER_LIGHT;
                ent->render.framegroupblend[0].lerp = 1;
                ent->render.frameblend[0].lerp = 1;