From 70a08013a7545c9a117c898208902a0e5db4fbfa Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 29 May 2024 09:40:36 -0400 Subject: [PATCH] fix portals in Q2 --- common/bspfile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bspfile.cc b/common/bspfile.cc index 93dbe0cf..9866f676 100644 --- a/common/bspfile.cc +++ b/common/bspfile.cc @@ -1184,7 +1184,7 @@ struct gamedef_q2_t : public gamedef_t if (!(c0 ^ c1)) return true; - return (((c0 ^ c1) & EWT_ALL_VISIBLE_CONTENTS) != 0); + return (((c0 ^ c1) & EWT_ALL_VISIBLE_CONTENTS) == 0); } bool contents_seals_map(const contentflags_t &contents) const override