ref_gl: fix #52

This commit is contained in:
Alibek Omarov 2019-07-07 00:17:03 +03:00
parent 7702a7a8d0
commit 2202e13a61

View File

@ -2910,7 +2910,7 @@ static qboolean R_CheckLightMap( msurface_t *fa )
}
// already up to date
if( !is_dynamic && ( fa->dlightframe != tr.framecount || maps == MAX_LIGHTMAPS ) )
if( !is_dynamic && ( fa->dlightframe != tr.framecount || maps == MAXLIGHTMAPS ) )
return false;
// build lightmap