mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Oh look, the first 3 arguments passed to parascan() are completely useless
git-svn-id: https://svn.eduke32.com/eduke32@7022 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
756369dc22
commit
870f1c4dab
1 changed files with 4 additions and 7 deletions
|
@ -3570,7 +3570,7 @@ static void grouscan(int32_t dax1, int32_t dax2, int32_t sectnum, char dastat)
|
||||||
//
|
//
|
||||||
// parascan (internal)
|
// parascan (internal)
|
||||||
//
|
//
|
||||||
static void parascan(int32_t dax1, int32_t dax2, int32_t sectnum, char dastat, int32_t bunch)
|
static void parascan(char dastat, int32_t bunch)
|
||||||
{
|
{
|
||||||
usectortype *sec;
|
usectortype *sec;
|
||||||
int32_t j, k, l, m, n, x, z, wallnum, nextsectnum, globalhorizbak;
|
int32_t j, k, l, m, n, x, z, wallnum, nextsectnum, globalhorizbak;
|
||||||
|
@ -3578,10 +3578,7 @@ static void parascan(int32_t dax1, int32_t dax2, int32_t sectnum, char dastat, i
|
||||||
|
|
||||||
int32_t logtilesizy, tsizy;
|
int32_t logtilesizy, tsizy;
|
||||||
|
|
||||||
UNREFERENCED_PARAMETER(dax1);
|
int32_t sectnum = thesector[bunchfirst[bunch]]; sec = (usectortype *)§or[sectnum];
|
||||||
UNREFERENCED_PARAMETER(dax2);
|
|
||||||
|
|
||||||
sectnum = thesector[bunchfirst[bunch]]; sec = (usectortype *)§or[sectnum];
|
|
||||||
|
|
||||||
globalhorizbak = globalhoriz;
|
globalhorizbak = globalhoriz;
|
||||||
globvis = globalpisibility;
|
globvis = globalpisibility;
|
||||||
|
@ -3967,7 +3964,7 @@ static void classicDrawBunches(int32_t bunch)
|
||||||
else if ((sec->ceilingstat&1) == 0)
|
else if ((sec->ceilingstat&1) == 0)
|
||||||
ceilscan(xb1[bunchfirst[bunch]],xb2[bunchlast[bunch]],sectnum);
|
ceilscan(xb1[bunchfirst[bunch]],xb2[bunchlast[bunch]],sectnum);
|
||||||
else
|
else
|
||||||
parascan(xb1[bunchfirst[bunch]],xb2[bunchlast[bunch]],sectnum,0,bunch);
|
parascan(0,bunch);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((andwstat2&12) != 12) //draw floors
|
if ((andwstat2&12) != 12) //draw floors
|
||||||
|
@ -3982,7 +3979,7 @@ static void classicDrawBunches(int32_t bunch)
|
||||||
else if ((sec->floorstat&1) == 0)
|
else if ((sec->floorstat&1) == 0)
|
||||||
florscan(xb1[bunchfirst[bunch]],xb2[bunchlast[bunch]],sectnum);
|
florscan(xb1[bunchfirst[bunch]],xb2[bunchlast[bunch]],sectnum);
|
||||||
else
|
else
|
||||||
parascan(xb1[bunchfirst[bunch]],xb2[bunchlast[bunch]],sectnum,1,bunch);
|
parascan(1,bunch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue