mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-04 02:02:06 +00:00
Add multitag support to FOF spawners.
This commit is contained in:
parent
cb2571b12c
commit
499c884501
1 changed files with 4 additions and 3 deletions
|
@ -7484,9 +7484,10 @@ static void P_AddFakeFloorsByLine(size_t line, ffloortype_e ffloorflags, thinker
|
|||
{
|
||||
INT32 s;
|
||||
size_t sec = sides[*lines[line].sidenum].sector-sectors;
|
||||
|
||||
for (s = -1; (s = P_FindSectorFromLineTag(lines+line, s)) >= 0 ;)
|
||||
P_AddFakeFloor(§ors[s], §ors[sec], lines+line, ffloorflags, secthinkers);
|
||||
line_t* li = lines + line;
|
||||
TAG_ITER_SECTORS(li->tag, s)
|
||||
P_AddFakeFloor(§ors[s], §ors[sec], li, ffloorflags, secthinkers);
|
||||
TAG_ITER_END
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue