Ignore cstat 32768 sprites in map view

git-svn-id: https://svn.eduke32.com/eduke32@8034 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-08-16 12:05:29 +00:00 committed by Christoph Oelckers
parent b2f96ade69
commit 78004b17de

View file

@ -9276,12 +9276,17 @@ void renderDrawMapView(int32_t dax, int32_t day, int32_t zoome, int16_t ang)
//Collect floor sprites to draw
for (i=headspritesect[s]; i>=0; i=nextspritesect[i])
if ((sprite[i].cstat&48) == 32)
{
if (sprite[i].cstat & 32768)
continue;
if ((sprite[i].cstat & 48) == 32)
{
if ((sprite[i].cstat&(64+8)) == (64+8)) continue;
if ((sprite[i].cstat & (64 + 8)) == (64 + 8))
continue;
tsprite[sortnum++].owner = i;
}
}
gotsector[s>>3] |= pow2char[s&7];
globalorientation = (int32_t)sec->floorstat;