From a965a60e832d1c24ee63044372d8e47406c13cc8 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 23 Mar 2005 00:15:03 +0000 Subject: [PATCH] fix decal fading so they really DO disappear eventually now, rather than hogging particle slots for all time git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5119 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 d93069f8..88ed4927 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -1493,7 +1493,7 @@ void CL_MoveParticles (void) break; case pt_decal: // FIXME: this has fairly wacky handling of alpha - p->alphafade = cl.time > (p->time2 + cl_decals_time.value) ? (p->alpha / cl_decals_fadetime.value) : 0; + p->alphafade = cl.time > (p->time2 + cl_decals_time.value) ? (255 / cl_decals_fadetime.value) : 0; #ifndef WORKINGLQUAKE if (p->owner->model == p->ownermodel) { -- 2.39.2