surf->currenttexture = t;
surf->texturechain = t->surfacechain;
t->surfacechain = surf;
- if (surf->lightmaptexture != NULL)
+ if (!r_vertexsurfaces.integer && surf->lightmaptexture != NULL)
{
if (surf->cached_dlight
|| surf->cached_ambient != r_ambient.value