- 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:
parent
165875c7df
commit
8a3edf9716
9 changed files with 123 additions and 53 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue