From cb4a1ad8a3a8251ba0fdfcc4248e84592eb007d1 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 30 Jun 2022 15:12:42 -0400 Subject: [PATCH] re-add nodraw/sky warning --- qbsp/map.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/qbsp/map.cc b/qbsp/map.cc index 2f9093a4..39119699 100644 --- a/qbsp/map.cc +++ b/qbsp/map.cc @@ -1484,6 +1484,7 @@ static void ParseTextureDef(parser_t &parser, mapface_t &mapface, const mapbrush // This fixes a bug in some old maps. if ((extinfo.info->flags.native & (Q2_SURF_SKY | Q2_SURF_NODRAW)) == (Q2_SURF_SKY | Q2_SURF_NODRAW)) { extinfo.info->flags.native &= ~Q2_SURF_NODRAW; + logging::print("WARNING: face at line {}: SKY | NODRAW mixed. Removing NODRAW.\n", mapface.linenum); } }