From 34a7079b649da961c12fd30a5b4b755c63437b5e Mon Sep 17 00:00:00 2001 From: Jonathan Date: Sat, 27 Aug 2022 03:28:57 -0400 Subject: [PATCH] reverse the portals for leak lines in inside filling --- qbsp/outside.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/qbsp/outside.cc b/qbsp/outside.cc index 918a2067..a3eee366 100644 --- a/qbsp/outside.cc +++ b/qbsp/outside.cc @@ -628,6 +628,7 @@ bool FillOutside(tree_t &tree, hull_index_t hullnum, bspbrush_t::container &brus if (fillnode->occupied > 0) { leakline = MakeLeakLine(fillnode, leakentity); + std::reverse(leakline.begin(), leakline.end()); } } else { // Flood fill from outside -> in.