Revert a formatting change from r5725.

git-svn-id: https://svn.eduke32.com/eduke32@5912 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-10-25 05:43:42 +00:00
parent 5e63453301
commit 1940940f81

View file

@ -3686,8 +3686,9 @@ void polymost_scansector(int32_t sectnum)
{ {
uspritetype const * const spr = (uspritetype *)&sprite[z]; uspritetype const * const spr = (uspritetype *)&sprite[z];
if ((((spr->cstat&0x8000) == 0) || (showinvisibility)) && (spr->xrepeat > 0) && (spr->yrepeat > 0)) if ((spr->cstat & 0x8000 && !showinvisibility) || spr->xrepeat == 0 || spr->yrepeat == 0)
{ continue;
vec2_t const s = { spr->x-globalposx, spr->y-globalposy }; vec2_t const s = { spr->x-globalposx, spr->y-globalposy };
if ((spr->cstat&48) || (usemodels && tile2model[spr->picnum].modelid>=0) || ((s.x * gcosang) + (s.y * gsinang) > 0)) if ((spr->cstat&48) || (usemodels && tile2model[spr->picnum].modelid>=0) || ((s.x * gcosang) + (s.y * gsinang) > 0))
@ -3697,7 +3698,6 @@ void polymost_scansector(int32_t sectnum)
break; break;
} }
} }
}
gotsector[sectnum>>3] |= pow2char[sectnum&7]; gotsector[sectnum>>3] |= pow2char[sectnum&7];