]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_main.c
improved TraceLine in chase.c to be more generally useful (should move it to another...
[xonotic/darkplaces.git] / cl_main.c
index 56d77abbe72e3c21d2553d2e98b88ce5de1d6a50..1abbfd2fe3a5498f233d3b5499a6d4f05413d803 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -345,6 +345,7 @@ void CL_DecayLights (void)
        
        time = cl.time - cl.oldtime;
 
+       c_dlights = 0;
        dl = cl_dlights;
        for (i=0 ; i<MAX_DLIGHTS ; i++, dl++)
        {