mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add multitag support to FOF spawners.
This commit is contained in:
parent
0bb240e084
commit
b6f3ea0a64
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…
Add table
Reference in a new issue