From: havoc Date: Sun, 21 Nov 2010 12:25:55 +0000 (+0000) Subject: someone broke R_CompleteLightPoint, fix this call X-Git-Tag: xonotic-v0.1.0preview~54 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=27dede7ff3ed7315469b29e8fa0d9270a6653914;p=xonotic%2Fdarkplaces.git someone broke R_CompleteLightPoint, fix this call git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10620 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=e4e9ebace60585c6cfb51cafda868761e8d21458 --- 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]);