mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- made several arrays holding sector related data dynamic.
This commit is contained in:
parent
2a07159c8d
commit
1a3b9f8ac0
11 changed files with 50 additions and 50 deletions
|
@ -92,6 +92,7 @@ void BunchDrawer::StartScene()
|
|||
StartTime = I_msTime();
|
||||
Bunches.Clear();
|
||||
CompareData.Clear();
|
||||
gotsector.Resize(numsectors);
|
||||
gotsector.Zero();
|
||||
gotsection2.Zero();
|
||||
gotwall.Zero();
|
||||
|
@ -560,7 +561,7 @@ void BunchDrawer::ProcessSection(int sectionnum, bool portal)
|
|||
|
||||
SetupSprite.Clock();
|
||||
|
||||
int sectnum = sections[sectionnum].sector;
|
||||
int sectnum = Sections[sectionnum].sector;
|
||||
if (!gotsector[sectnum])
|
||||
{
|
||||
gotsector.Set(sectnum);
|
||||
|
@ -598,7 +599,7 @@ void BunchDrawer::ProcessSection(int sectionnum, bool portal)
|
|||
|
||||
//Todo: process subsectors
|
||||
inbunch = false;
|
||||
auto section = §ions[sectionnum];
|
||||
auto section = &Sections[sectionnum];
|
||||
for (unsigned i = 0; i < section->lines.Size(); i++)
|
||||
{
|
||||
auto thisline = §ionLines[section->lines[i]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue