Handle level in block iterators.

The scripted interface isn't done yet.
This commit is contained in:
Christoph Oelckers 2019-01-29 03:26:22 +01:00
commit de1b89707d
13 changed files with 88 additions and 81 deletions

View file

@ -237,7 +237,7 @@ msecnode_t *P_CreateSecNodeList(AActor *thing, double radius, msecnode_t *sector
}
FBoundingBox box(thing->X(), thing->Y(), radius);
FBlockLinesIterator it(box);
FBlockLinesIterator it(thing->Level, box);
line_t *ld;
while ((ld = it.Next()))