Add some comments.

This commit is contained in:
Bill Currie 2011-12-17 09:39:57 +09:00
parent 933120d44f
commit 9f0bdf7794

View file

@ -766,10 +766,13 @@ GL_BuildLightmaps (model_t **models, int num_models)
m = models[j];
if (!m)
break;
if (m->name[0] == '*')
if (m->name[0] == '*') {
// sub model surfaces are processed as part of the main model
continue;
}
r_pcurrentvertbase = m->vertexes;
currentmodel = m;
// non-bsp models don't have surfaces.
for (i = 0; i < m->numsurfaces; i++) {
if (m->surfaces[i].flags & SURF_DRAWTURB)
continue;