- fixed: BlockLinesIterator::Next could get stuck in rare situations where validcount was altered while the iterator was still running. This should probably be dealt with by using another marking method but at least this prevents the engine from freezing.

SVN r3268 (trunk)
This commit is contained in:
Christoph Oelckers 2011-07-07 22:09:09 +00:00
commit d8ea5cdad9
2 changed files with 2 additions and 5 deletions

View file

@ -721,15 +721,12 @@ line_t *FBlockLinesIterator::Next()
{
line_t *ld = &lines[*list];
list++;
if (ld->validcount != validcount)
{
ld->validcount = validcount;
return ld;
}
else
{
list++;
}
}
}