diff --git a/qbsp/qbsp.cc b/qbsp/qbsp.cc index d7403313..c122be42 100644 --- a/qbsp/qbsp.cc +++ b/qbsp/qbsp.cc @@ -438,7 +438,9 @@ static void GatherBspbrushes_r(node_t *node, bspbrush_t::container &container) static void GatherLeafVolumes_r(node_t *node, bspbrush_t::container &container) { if (node->is_leaf) { - container.push_back(node->volume); + if (!node->contents.is_empty(qbsp_options.target_game)) { + container.push_back(node->volume); + } return; }