From 4accc4d56b93f5aa52677688053aa09443a7a00c Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sat, 9 Oct 2021 00:13:23 -0600 Subject: [PATCH] light: remove incorrect assertion face->lightofs != -1 This can happen for Q1 with a solid black face --- light/ltface.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/light/ltface.cc b/light/ltface.cc index d856b218..ef37e72e 100644 --- a/light/ltface.cc +++ b/light/ltface.cc @@ -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); }