qbsp: CreateBrushFaces: fix accessing empty winding in `w->clip(...)` expression
This commit is contained in:
parent
2c7c879034
commit
d6a17d022c
|
|
@ -330,6 +330,8 @@ static face_t *CreateBrushFaces(const mapentity_t *src, hullbrush_t *hullbrush,
|
|||
for (auto &mapface2 : hullbrush->faces) {
|
||||
if (&mapface == &mapface2)
|
||||
continue;
|
||||
if (!w)
|
||||
break;
|
||||
|
||||
// flip the plane, because we want to keep the back side
|
||||
plane = -mapface2.plane;
|
||||
|
|
|
|||
Loading…
Reference in New Issue