]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
remove ; that was causing crashes/breakage
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 23 Feb 2007 12:53:07 +0000 (12:53 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 23 Feb 2007 12:53:07 +0000 (12:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6910 d7cf8633-e32d-0410-b094-e92efae38249

gl_rsurf.c

index 8e9afe8dd958332a09711c44ee58af06c21fc7e8..5b9cff9f223f3fad98b71937987e09f380ffaa6b 100644 (file)
@@ -955,7 +955,7 @@ void R_Q1BSP_DrawLight(entity_render_t *ent, int numsurfaces, const int *surface
                        surface = batchsurfacelist[k];
                        tex = surface->texture;
                        rsurface_texture = tex->currentframe;
-                       for (l = k;l < batchnumsurfaces && tex == batchsurfacelist[l]->texture;l++);
+                       for (l = k;l < batchnumsurfaces && tex == batchsurfacelist[l]->texture;l++)
                                r_refdef.stats.lights_lighttriangles += batchsurfacelist[l]->num_triangles;
                        if (rsurface_texture->currentmaterialflags & (MATERIALFLAG_WALL | MATERIALFLAG_WATER))
                        {