revert using detail on hull1/2 for now as it's breaking tests

This commit is contained in:
Eric Wasylishen 2022-08-15 21:17:17 -06:00
parent 41f765376f
commit 83cf63e77f
1 changed files with 9 additions and 7 deletions

View File

@ -465,7 +465,8 @@ static void Brush_LoadEntity(mapentity_t *dst, mapentity_t *src, hull_index_t hu
if ((qbsp_options.omitdetail.value() || qbsp_options.omitdetailfence.value()) && detail_fence)
continue;
/* turn solid brushes into detail */
/* turn solid brushes into detail, if we're in hull0 */
if (hullnum <= 0 && contents.is_solid(qbsp_options.target_game)) {
if (detail_illusionary) {
contents = qbsp_options.target_game->create_detail_illusionary_contents(contents);
} else if (detail_fence) {
@ -473,6 +474,7 @@ static void Brush_LoadEntity(mapentity_t *dst, mapentity_t *src, hull_index_t hu
} else if (detail) {
contents = qbsp_options.target_game->create_detail_solid_contents(contents);
}
}
/* func_detail_illusionary don't exist in the collision hull
* (or bspx export) except for Q2, who needs them in there */