mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 07:34:50 +00:00
- disallow crossable portals on one-sided linedefs which do not belong to a polyobject.
Sadly the mappers cannot be trusted to use a feature correctly. Despite repeatedly telling that portals on one-sided lines are problematic, everybody seems to do it this way - and then report bugs if it doesn't work. Under such circumstances the only safe option is to block such portals entirely. See http://forum.zdoom.org/viewtopic.php?f=2&t=51511&p=898522#p898522 for a typical example of the problems this might cause.
This commit is contained in:
parent
32bbec7cad
commit
47e20aead4
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ bool PIT_CheckLine(FMultiBlockLinesIterator &mit, FMultiBlockLinesIterator::Chec
|
||||||
{ // One sided line
|
{ // One sided line
|
||||||
|
|
||||||
// Needed for polyobject portals.
|
// Needed for polyobject portals.
|
||||||
if (cres.line->isLinePortal())
|
if (cres.line->isLinePortal() && (cres.line->sidedef[0]->Flags & WALLF_POLYOBJ))
|
||||||
{
|
{
|
||||||
spechit_t spec;
|
spechit_t spec;
|
||||||
spec.line = ld;
|
spec.line = ld;
|
||||||
|
|
Loading…
Reference in a new issue