]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix stain alpha
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 1 May 2010 12:21:29 +0000 (12:21 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 1 May 2010 12:21:29 +0000 (12:21 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10108 d7cf8633-e32d-0410-b094-e92efae38249

cl_particles.c

index b1d3dc7c780e288d071a3394a7ef2a103479984a..04bcbfb8d75f2a1d71a855cba7c667304d478511 100644 (file)
@@ -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;