From 1b9bd569d86874ea19375b66dd80ae4b4f34aab1 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 1 May 2010 12:21:29 +0000 Subject: [PATCH] fix stain alpha git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10108 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_particles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2