mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 11:30:44 +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++)
|
for (sop = SectorObject; sop < &SectorObject[MAX_SECTOR_OBJECTS]; sop++)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (sop->xmid == MAXLONG || sop->xmid == MAXSO)
|
if (sop->xmid == MAXLONG /*|| sop->xmid == MAXSO*/)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2070,7 +2070,7 @@ DetectSectorObject(SECTORp sectph)
|
||||||
// move all points to nx,ny
|
// move all points to nx,ny
|
||||||
for (sop = SectorObject; sop < &SectorObject[MAX_SECTOR_OBJECTS]; sop++)
|
for (sop = SectorObject; sop < &SectorObject[MAX_SECTOR_OBJECTS]; sop++)
|
||||||
{
|
{
|
||||||
if (sop->xmid == MAXLONG || sop->xmid == MAXSO)
|
if (sop->xmid == MAXLONG /*|| sop->xmid == MAXSO*/)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (sectp = sop->sectp, j = 0; *sectp; sectp++, j++)
|
for (sectp = sop->sectp, j = 0; *sectp; sectp++, j++)
|
||||||
|
@ -2098,7 +2098,7 @@ DetectSectorObjectByWall(WALLp wph)
|
||||||
// move all points to nx,ny
|
// move all points to nx,ny
|
||||||
for (sop = SectorObject; sop < &SectorObject[MAX_SECTOR_OBJECTS]; sop++)
|
for (sop = SectorObject; sop < &SectorObject[MAX_SECTOR_OBJECTS]; sop++)
|
||||||
{
|
{
|
||||||
if (sop->xmid == MAXLONG || sop->xmid == MAXSO)
|
if (sop->xmid == MAXLONG /*|| sop->xmid == MAXSO*/)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (sectp = sop->sectp, j = 0; *sectp; sectp++, j++)
|
for (sectp = sop->sectp, j = 0; *sectp; sectp++, j++)
|
||||||
|
|
Loading…
Reference in a new issue