- fixed: The polyobject init specials must be cleared after Polyobject initialization is done, because they can block usage of regular lines colinear with the polyobject

This commit is contained in:
Christoph Oelckers 2016-12-03 14:06:51 +01:00
parent 87d2991256
commit 28604bad62
1 changed files with 8 additions and 1 deletions

View File

@ -1773,7 +1773,14 @@ void PO_Init (void)
}
}
}
// clear all polyobj specials so that they do not obstruct using other lines.
for (int i = 0; i < numlines; i++)
{
if (lines[i].special == Polyobj_ExplicitLine || lines[i].special == Polyobj_StartLine)
{
lines[i].special = 0;
}
}
}
//==========================================================================