- fixed: Visual-only portals could initiate a teleport.

This commit is contained in:
Christoph Oelckers 2016-03-13 21:55:47 +01:00
parent 448e66f19b
commit df63dd288a

View file

@ -997,7 +997,7 @@ bool PIT_CheckLine(FMultiBlockLinesIterator &mit, FMultiBlockLinesIterator::Chec
spec.oldrefpos = tm.thing->PosRelative(ld); spec.oldrefpos = tm.thing->PosRelative(ld);
spechit.Push(spec); spechit.Push(spec);
} }
if (ld->portalindex != UINT_MAX) if (ld->isLinePortal())
{ {
spec.line = ld; spec.line = ld;
spec.refpos = cres.position; spec.refpos = cres.position;