From b78553d81b5b6235e71bc23d4eaef26c15606b5e Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sun, 3 Oct 2021 00:22:51 -0600 Subject: [PATCH] qbsp: outside.cc: match original behaviour --- qbsp/outside.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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,