mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-07 00:11:22 +00:00
- add a global list of section walls.
This commit is contained in:
parent
f8f6c345fc
commit
d353787d31
1 changed files with 5 additions and 1 deletions
|
@ -595,11 +595,14 @@ static void ConstructSections(TArray<sectionbuildsector>& builders)
|
|||
auto wal = wallmap[srcloop[w]];
|
||||
section->walls[curwall++] = loop.walls[w] = wal;
|
||||
wal->section = section->index;
|
||||
// backsection will be filled in when everything is done.
|
||||
wal->index = section2walls.Size();
|
||||
section2walls.Push(wal);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
section2walls.ShrinkToFit();
|
||||
sections2.ShrinkToFit();
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
@ -613,6 +616,7 @@ void hw_CreateSections2()
|
|||
bugged.Clear();
|
||||
sectionArena.FreeAll();
|
||||
sections2.Reset();
|
||||
section2walls.Clear();
|
||||
TArray<loopcollect> collect;
|
||||
CollectLoops(collect);
|
||||
|
||||
|
|
Loading…
Reference in a new issue