git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6910
d7cf8633-e32d-0410-b094-
e92efae38249
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))
{