qbsp: outside.cc: match original behaviour

This commit is contained in:
Eric Wasylishen 2021-10-03 00:22:51 -06:00
parent 2fc1e9099a
commit b78553d81b
1 changed files with 2 additions and 3 deletions

View File

@ -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,