Revert r7017. I misread the code mismeasured the result.

git-svn-id: https://svn.eduke32.com/eduke32@7056 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-10 19:14:46 +00:00
parent 1d3f77b46b
commit 15008d7aec

View file

@ -3880,7 +3880,6 @@ static void classicDrawBunches(int32_t bunch)
uint8_t andwstat1 = 0xff, andwstat2 = 0xff;
for (; z>=0; z=bunchp2[z]) //uplc/dplc calculation
{
andwstat1 &= wallmost(uplc,z,sectnum,(uint8_t)0);
@ -3983,7 +3982,6 @@ static void classicDrawBunches(int32_t bunch)
}
}
int32_t gotswall, startsmostwallcnt, startsmostcnt;
//DRAW WALLS SECTION!
for (z=bunchfirst[bunch]; z>=0; z=bunchp2[z])
@ -4010,9 +4008,10 @@ static void classicDrawBunches(int32_t bunch)
const int32_t nextsectnum = wal->nextsector;
const usectortype *const nextsec = nextsectnum>=0 ? (usectortype *)&sector[nextsectnum] : NULL;
gotswall = 0;
startsmostwallcnt = smostwallcnt;
startsmostcnt = smostcnt;
int32_t gotswall = 0;
const int32_t startsmostwallcnt = smostwallcnt;
const int32_t startsmostcnt = smostcnt;
if (searchit == 2 && (searchx >= x1 && searchx <= x2))
{