From c9a1d9f096941d020c78b8595c7c035d9edff547 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Tue, 9 Aug 2022 23:14:20 -0600 Subject: [PATCH] qbsp: don't store leafnode->volume once the leaf is created --- qbsp/brushbsp.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qbsp/brushbsp.cc b/qbsp/brushbsp.cc index b70571cd..91d4712c 100644 --- a/qbsp/brushbsp.cc +++ b/qbsp/brushbsp.cc @@ -392,6 +392,8 @@ static void LeafNode(node_t *leafnode, std::vector> } qbsp_options.target_game->count_contents_in_stats(leafnode->contents, *stats.leafstats); + + leafnode->volume.reset(); } //============================================================