mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
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:
parent
5e63453301
commit
1940940f81
1 changed files with 9 additions and 9 deletions
|
@ -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];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue