SW: Fix -Wlogical-op

git-svn-id: https://svn.eduke32.com/eduke32@7536 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-08 06:28:43 +00:00 committed by Christoph Oelckers
parent 54b7b27eb0
commit 07010b398a
2 changed files with 3 additions and 3 deletions

View file

@ -3414,7 +3414,7 @@ DoSector(void)
for (sop = SectorObject; sop < &SectorObject[MAX_SECTOR_OBJECTS]; sop++)
{
if (sop->xmid == MAXLONG || sop->xmid == MAXSO)
if (sop->xmid == MAXLONG /*|| sop->xmid == MAXSO*/)
continue;

View file

@ -2070,7 +2070,7 @@ DetectSectorObject(SECTORp sectph)
// move all points to nx,ny
for (sop = SectorObject; sop < &SectorObject[MAX_SECTOR_OBJECTS]; sop++)
{
if (sop->xmid == MAXLONG || sop->xmid == MAXSO)
if (sop->xmid == MAXLONG /*|| sop->xmid == MAXSO*/)
continue;
for (sectp = sop->sectp, j = 0; *sectp; sectp++, j++)
@ -2098,7 +2098,7 @@ DetectSectorObjectByWall(WALLp wph)
// move all points to nx,ny
for (sop = SectorObject; sop < &SectorObject[MAX_SECTOR_OBJECTS]; sop++)
{
if (sop->xmid == MAXLONG || sop->xmid == MAXSO)
if (sop->xmid == MAXLONG /*|| sop->xmid == MAXSO*/)
continue;
for (sectp = sop->sectp, j = 0; *sectp; sectp++, j++)