]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix the weapon alpha with invisibility in transfusion
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 8 Dec 2003 07:11:31 +0000 (07:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 8 Dec 2003 07:11:31 +0000 (07:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3708 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index 5b736f60826d01e62143163a91042faa1d2d3f7e..65634df6d001822a474fbecd2c998e1bd19b694f 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -855,7 +855,7 @@ static void CL_RelinkNetworkEntities(void)
        else if (cl.items & IT_INVISIBILITY)
        {
                if (gamemode == GAME_TRANSFUSION)
-                       ent->state_current.alpha = 0.5;
+                       ent->state_current.alpha = 128;
                else
                        ent->state_current.modelindex = 0;
        }