From 8f06fc9c8d5a305aac075fa96503e80a0a1e840b Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Thu, 4 Jul 2019 20:53:57 -0600 Subject: [PATCH] add clarification comment --- qbsp/brush.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qbsp/brush.cc b/qbsp/brush.cc index a4f96a19..99d65bb2 100644 --- a/qbsp/brush.cc +++ b/qbsp/brush.cc @@ -387,8 +387,9 @@ CreateBrushFaces(hullbrush_t *hullbrush, const vec3_t rotate_offset, /* Don't generate hintskip faces */ const mtexinfo_t &texinfo = map.mtexinfos.at(mapface->texinfo); const char *texname = map.miptex.at(texinfo.miptex).c_str(); + if (Q_strcasecmp(texname, "hint")) - continue; + continue; // anything texname other than "hint" in a hint brush is treated as "hintskip", and discarded } w = BaseWindingForPlane(&mapface->plane);