- added a check for the destination of a portal to P_CheckPosition. This needs to run a separate BlockLinesIterator that only sets selected fields.

This commit is contained in:
Christoph Oelckers 2016-02-27 21:17:02 +01:00
commit a9ca53bc00
2 changed files with 123 additions and 8 deletions

View file

@ -152,7 +152,7 @@ void P_LineOpening (FLineOpening &open, AActor *actor, const line_t *linedef,
sector_t *front, *back;
fixed_t fc, ff, bc, bf;
if (linedef->sidedef[1] == NULL)
if (linedef->backsector == NULL)
{
// single sided line
open.range = 0;