From c9243d4fea2103d50d4cd8fc64061038cf59faac Mon Sep 17 00:00:00 2001 From: Jonathan Date: Mon, 24 Jan 2022 14:41:37 -0500 Subject: [PATCH] If we have a leak, reset occupied value so that FindOccupiedClusters can be re-entered later for areas --- qbsp/outside.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qbsp/outside.cc b/qbsp/outside.cc index d393cebf..b17d6670 100644 --- a/qbsp/outside.cc +++ b/qbsp/outside.cc @@ -498,6 +498,9 @@ bool FillOutside(node_t *node, const int hullnum) exit(1); } + // clear occupied state, so areas can be flooded in Q2 + ClearOccupied_r(node); + return false; }