From b89b71455bb24b8938113603e9a4a6a9e0f04ab7 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 2 Nov 2022 17:59:07 -0400 Subject: [PATCH] fix condition running in Q2 mode that isn't supported yet --- qbsp/tree.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbsp/tree.cc b/qbsp/tree.cc index e76c0ff7..ad30a76f 100644 --- a/qbsp/tree.cc +++ b/qbsp/tree.cc @@ -128,7 +128,7 @@ static void PruneNodes_R(node_t *node, prune_stats_t &stats) { if (node->is_leaf) { // remap any contents - if (node->contents.is_detail_wall(qbsp_options.target_game)) { + if (qbsp_options.target_game->id != GAME_QUAKE_II && node->contents.is_detail_wall(qbsp_options.target_game)) { node->contents = qbsp_options.target_game->create_solid_contents(); } return;