fix inversion on content types portal visibility in Q2 (opaque water, etc was considered see-through; now it correctly assumes they are solid)

This commit is contained in:
Jonathan 2022-06-10 06:53:38 -04:00
parent 812797f7ed
commit 79ca3c1543
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ struct gamedef_q2_t : public gamedef_t
if (!(c0 ^ c1)) if (!(c0 ^ c1))
return true; return true;
return visible_contents(c0 ^ c1); return !visible_contents(c0 ^ c1);
} }
std::string get_contents_display(const contentflags_t &contents) const std::string get_contents_display(const contentflags_t &contents) const