From 79ca3c1543ea47c2705801f03ec13f1896c5a698 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Fri, 10 Jun 2022 06:53:38 -0400 Subject: [PATCH] fix inversion on content types portal visibility in Q2 (opaque water, etc was considered see-through; now it correctly assumes they are solid) --- common/bspfile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bspfile.cc b/common/bspfile.cc index fb3625b6..2b3191e4 100644 --- a/common/bspfile.cc +++ b/common/bspfile.cc @@ -581,7 +581,7 @@ struct gamedef_q2_t : public gamedef_t if (!(c0 ^ c1)) return true; - return visible_contents(c0 ^ c1); + return !visible_contents(c0 ^ c1); } std::string get_contents_display(const contentflags_t &contents) const