mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
SW: Fix -Wlogical-op
git-svn-id: https://svn.eduke32.com/eduke32@7536 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
54b7b27eb0
commit
07010b398a
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue