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:
parent
812797f7ed
commit
79ca3c1543
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue