From e4e9ebace60585c6cfb51cafda868761e8d21458 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 21 Nov 2010 12:25:55 +0000 Subject: [PATCH] someone broke R_CompleteLightPoint, fix this call git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10620 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 d0991e53..679778a5 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -2532,7 +2532,7 @@ void R_DrawParticle_TransparentCallback(const entity_render_t *ent, const rtligh // note: lighting is not cheap! if (particletype[p->typeindex].lighting) { - R_CompleteLightPoint(ambient, diffuse, diffusenormal, p->org, true, false); + R_CompleteLightPoint(ambient, diffuse, diffusenormal, p->org, LP_LIGHTMAP | LP_RTWORLD | LP_DYNLIGHT); c4f[0] *= (ambient[0] + 0.5 * diffuse[0]); c4f[1] *= (ambient[1] + 0.5 * diffuse[1]); c4f[2] *= (ambient[2] + 0.5 * diffuse[2]); -- 2.39.2