mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-07 00:11:22 +00:00
- rename FBunch's sectnum because it complicated searching for other stuff.
This commit is contained in:
parent
ed659df9d8
commit
4c13f24357
2 changed files with 3 additions and 3 deletions
|
@ -107,7 +107,7 @@ bool BunchDrawer::StartBunch(int sectnum, int linenum, binangle startan, binangl
|
|||
{
|
||||
FBunch* bunch = &Bunches[LastBunch = Bunches.Reserve(1)];
|
||||
|
||||
bunch->sectnum = sectnum;
|
||||
bunch->sectornum = sectnum;
|
||||
bunch->startline = bunch->endline = linenum;
|
||||
bunch->startangle = startan;
|
||||
bunch->endangle = endan;
|
||||
|
@ -311,7 +311,7 @@ void BunchDrawer::ProcessBunch(int bnch)
|
|||
SetupWall.Clock();
|
||||
|
||||
HWWall hwwall;
|
||||
hwwall.Process(di, &wall[ww], §or[bunch->sectnum], wall[ww].nextsector < 0 ? nullptr : §or[wall[ww].nextsector]);
|
||||
hwwall.Process(di, &wall[ww], §or[bunch->sectornum], wall[ww].nextsector < 0 ? nullptr : §or[wall[ww].nextsector]);
|
||||
rendered_lines++;
|
||||
|
||||
SetupWall.Unclock();
|
||||
|
|
|
@ -8,7 +8,7 @@ class Clipper;
|
|||
|
||||
struct FBunch
|
||||
{
|
||||
int sectnum;
|
||||
int sectornum;
|
||||
int startline;
|
||||
int endline;
|
||||
bool portal;
|
||||
|
|
Loading…
Reference in a new issue