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
|
|
@ -520,7 +520,7 @@ void P_GeometryRadiusAttack(AActor* bombspot, AActor* bombsource, int bombdamage
|
|||
|
||||
// enumerate all lines around
|
||||
FBoundingBox bombbox(bombspot->X(), bombspot->Y(), bombdistance);
|
||||
FBlockLinesIterator it(bombbox);
|
||||
FBlockLinesIterator it(bombspot->Level, bombbox);
|
||||
line_t* ln;
|
||||
int vc = validcount;
|
||||
TArray<line_t*> lines;
|
||||
|
|
@ -1070,4 +1070,4 @@ DEFINE_ACTION_FUNCTION(_Sector, SetHealth)
|
|||
*health = newhealth;
|
||||
if (grp) P_SetHealthGroupHealth(grp, newhealth);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue