diff --git a/qbsp/outside.cc b/qbsp/outside.cc index 70fbe67f..c7e7bf49 100644 --- a/qbsp/outside.cc +++ b/qbsp/outside.cc @@ -338,7 +338,7 @@ ClearOutFaces(node_t *node) } // visit the leaf - if (!node->contents.is_solid(options.target_game)) { + if (!node->contents.is_structural_solid(options.target_game)) { return; } @@ -365,8 +365,7 @@ OutLeafsToSolid_r(node_t *node, int *outleafs_count) return; // Don't fill sky, or count solids as outleafs - if (node->contents.is_sky(options.target_game) - || node->contents.is_solid(options.target_game)) + if (node->contents.is_structural_sky_or_solid(options.target_game)) return; // Now check all faces touching the leaf. If any of them are partially going into the occupied part of the map,