Handle level in block iterators.
The scripted interface isn't done yet.
This commit is contained in:
parent
7d3cd53c7e
commit
de1b89707d
13 changed files with 88 additions and 81 deletions
|
|
@ -1147,7 +1147,7 @@ bool FLevelLocals::CollectConnectedGroups(int startgroup, const DVector3 &positi
|
|||
{
|
||||
DVector2 disp = Displacements.getOffset(startgroup, thisgroup & ~FPortalGroupArray::FLAT);
|
||||
FBoundingBox box(position.X + disp.X, position.Y + disp.Y, checkradius);
|
||||
FBlockLinesIterator it(box);
|
||||
FBlockLinesIterator it(this, box);
|
||||
line_t *ld;
|
||||
while ((ld = it.Next()))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue