Fix incorrect bitwise OR operation in CheckSectorSprites()

This commit is contained in:
sirlemonhead 2019-11-28 00:03:29 +00:00 committed by Christoph Oelckers
parent 8b9f15d5ea
commit f56dd9a3e1

View file

@ -518,7 +518,7 @@ int CheckSectorSprites(short nSector, int nVal)
sprite[nSprite].x,
sprite[nSprite].y,
sprite[nSprite].z,
sprite[nSprite].sectnum | 0x40FF); // TODO - check last param??
sprite[nSprite].sectnum | 0x4000);
}
}
nSprite = nextspritesect[nSprite];