From b14aaff7053c342083420a47fb65743425f7613e Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sat, 18 Jun 2022 11:46:51 -0600 Subject: [PATCH] qbsp: switch over to CreateVisPortals_r --- qbsp/prtfile.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qbsp/prtfile.cc b/qbsp/prtfile.cc index cd24cc4d..042a9638 100644 --- a/qbsp/prtfile.cc +++ b/qbsp/prtfile.cc @@ -308,7 +308,8 @@ void WritePortalFile(tree_t *tree) AssertNoPortals(tree->headnode); MakeHeadnodePortals(tree); - CutNodePortals_r(tree->headnode); + portalstats_t stats{}; + CreateVisPortals_r(tree->headnode, stats); /* save portal file for vis tracing */ WritePortalfile(tree->headnode, &state);