From: divverent Date: Sat, 1 May 2010 12:21:29 +0000 (+0000) Subject: fix stain alpha X-Git-Tag: xonotic-v0.1.0preview~230^2~369 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1b9bd569d86874ea19375b66dd80ae4b4f34aab1;p=xonotic%2Fdarkplaces.git fix stain alpha git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10108 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_particles.c b/cl_particles.c index b1d3dc7c..04bcbfb8 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -628,7 +628,7 @@ particle_t *CL_NewParticle(const vec3_t sortorigin, unsigned short ptypeindex, i part->staincolor[0] = r; part->staincolor[1] = g; part->staincolor[2] = b; - part->stainalpha = palpha * stainalpha / 256; + part->stainalpha = palpha * stainalpha; part->stainsize = psize * stainsize; part->texnum = ptex; part->size = psize;