Merge remote-tracking branch 'github-desktop-paril/type-cleanup' into brushbsp

This commit is contained in:
Eric Wasylishen 2022-06-15 19:15:48 -06:00
commit 7ffae0754c
1 changed files with 1 additions and 1 deletions

View File

@ -978,7 +978,7 @@ static void Brush_LoadEntity(mapentity_t *dst, const mapentity_t *src, const int
before writing the bsp, and bmodels normally have CONTENTS_SOLID as their
contents type.
*/
if (hullnum <= 0 && mirrorinside) {
if (hullnum <= 0 && mirrorinside.value_or(false)) {
contents = options.target_game->create_detail_fence_contents(contents);
}
}