added back r_speeds2, with masses of information (6 lines high), and made it print...
[xonotic/darkplaces.git] / cl_main.c
index 2656281..56d77ab 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -350,7 +350,9 @@ void CL_DecayLights (void)
        {
                if (dl->die < cl.time || !dl->radius)
                        continue;
-               
+
+               c_dlights++; // count every dlight in use
+
                dl->radius -= time*dl->decay;
                if (dl->radius < 0)
                        dl->radius = 0;
@@ -782,7 +784,6 @@ void CL_PModel_f (void)
 CL_Fog_f
 ======================
 */
-extern float fog_density, fog_red, fog_green, fog_blue;
 void CL_Fog_f (void)
 {
        if (Cmd_Argc () == 1)