]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_particles.c
R_CompleteLightPoint bugfixed, dynamic lights actually matter for lit particles,...
[xonotic/darkplaces.git] / cl_particles.c
index 92b0b1c6ef0f2f2073bd3f6c8f81836755cb1cc8..d75ae27b82f9bf38f63af0a5231bdca82fabc074 100644 (file)
@@ -2536,7 +2536,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);
+                               R_CompleteLightPoint(ambient, diffuse, diffusenormal, p->org, true, false);
                                c4f[0] *= (ambient[0] + 0.5 * diffuse[0]);
                                c4f[1] *= (ambient[1] + 0.5 * diffuse[1]);
                                c4f[2] *= (ambient[2] + 0.5 * diffuse[2]);