test "or"

This commit is contained in:
Alug committed 2024-12-11 00:32:34 +01:00
1 parent c0a69065ea
commit b3ff5e30aa
1 file changed
+8 -2
+8 -2
View File
@@ -1055,7 +1055,10 @@ static void HWR_SplitWall(sector_t *sector, FOutVector *wallVerts, INT32 texnum,
endbheight = endrealbot;
}
if ((endbheight >= endtop) && (bheight >= top))
if (endbheight >= endtop)
continue;
if (bheight >= top)
continue;
// Found a break
@@ -3694,7 +3697,10 @@ static void HWR_SplitSprite(gl_vissprite_t *spr, const boolean papersprite)
endbheight = endrealbot;
}
if ((endbheight >= endtop) && (bheight >= top))
if (endbheight >= endtop)
continue;
if (bheight >= top)
continue;
// Found a break