light: remove incorrect assertion face->lightofs != -1
This can happen for Q1 with a solid black face
This commit is contained in:
parent
ed527217c6
commit
4accc4d56b
|
|
@ -3366,6 +3366,4 @@ void LightFace(const mbsp_t *bsp, mface_t *face, facesup_t *facesup, const globa
|
|||
WriteLightmaps(bsp, face, facesup, lightsurf, lightmaps);
|
||||
|
||||
LightFaceShutdown(lightsurf);
|
||||
|
||||
Q_assert(face->lightofs != -1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue