- Added a few 'activator == NULL' checks to some ACS functions.

- Added line and vertex lists to polyobjects so that I can do some 
  changes that won't work with only a seg list being maintained.


SVN r1016 (trunk)
This commit is contained in:
Christoph Oelckers 2008-06-03 14:38:42 +00:00
commit 8a3edf9716
9 changed files with 123 additions and 53 deletions

View file

@ -681,15 +681,14 @@ line_t *FBlockLinesIterator::Next()
polyLink->polyobj->validcount = validcount;
}
seg_t *seg = polyLink->polyobj->segs[polyIndex];
line_t *ld = polyLink->polyobj->lines[polyIndex];
if (++polyIndex >= polyLink->polyobj->numsegs)
if (++polyIndex >= polyLink->polyobj->numlines)
{
polyLink = polyLink->next;
polyIndex = 0;
}
line_t *ld = seg->linedef;
if (ld->validcount == validcount)
{
continue;