- fix sky sector portals

This commit is contained in:
Magnus Norddahl 2017-03-24 02:11:24 +01:00
commit c21037fb03
3 changed files with 97 additions and 76 deletions

View file

@ -110,7 +110,8 @@ void PolyCull::InvertSegments()
angle_t cur = 0;
for (const auto &segment : TempInvertSolidSegments)
{
MarkSegmentCulled(cur, segment.Start - 1);
if (segment.Start != 0 || segment.End != ANGLE_MAX)
MarkSegmentCulled(cur, segment.Start - 1);
cur = segment.End + 1;
}
if (cur != 0)