From cf653b5b5654a0f3faef76387693e3bd46ef9f7a Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sun, 7 Aug 2022 01:42:09 -0600 Subject: [PATCH] qbsp: MakeNodePortal: don't crash if w is empty for consistency with qbsp3 --- qbsp/portals.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qbsp/portals.cc b/qbsp/portals.cc index f58a6533..e6f18b52 100644 --- a/qbsp/portals.cc +++ b/qbsp/portals.cc @@ -227,6 +227,9 @@ std::unique_ptr MakeNodePortal(node_t *node, const std::listnodes[0] == node) {