diff --git a/qbsp/csg4.cc b/qbsp/csg4.cc index 30ab689d..6a9e4da2 100644 --- a/qbsp/csg4.cc +++ b/qbsp/csg4.cc @@ -521,12 +521,13 @@ CSGFaces(const mapentity_t *entity) * the clipbrush. Otherwise, these inside surfaces are hidden and * should be discarded. */ - if (brush->contents != CONTENTS_SOLID) - FreeFaces(inside); - else if (clipbrush->contents == CONTENTS_SOLID) - FreeFaces(inside); - else + if (brush->contents == CONTENTS_SOLID + && clipbrush->contents != CONTENTS_SOLID) + { SaveInsideFaces(inside, clipbrush, &outside); + } else { + FreeFaces(inside); + } } /*