From 8d5d3233b742150cb4bc31dae2e4f68b4462c682 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Mon, 19 Sep 2022 21:00:36 -0600 Subject: [PATCH] qbsp: call CountLeafs at the end of hull processing --- qbsp/qbsp.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/qbsp/qbsp.cc b/qbsp/qbsp.cc index ecf3f01c..d7403313 100644 --- a/qbsp/qbsp.cc +++ b/qbsp/qbsp.cc @@ -554,6 +554,7 @@ static void ProcessEntity(mapentity_t &entity, hull_index_t hullnum) FreeTreePortals(tree); PruneNodes(tree.headnode); } + CountLeafs(tree.headnode); } ExportClipNodes(entity, tree.headnode, hullnum.value()); return;