From 12cab1ef204a8849996c2525ae7ce91c29145efc Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 9 Mar 2024 12:01:18 +0100 Subject: [PATCH] sUgGeSt PaReNtHeSeS ArOuNd '&&' --- src/hardware/hw_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 7d5e9afa2..c09701c4f 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -1184,7 +1184,7 @@ static void HWR_SplitWall(sector_t *sector, FOutVector *wallVerts, INT32 texnum, endbot = endtop; } - if (endbheight >= endtop && bheight >= top && !cv_splitwallfix.value || bheight >= top && cv_splitwallfix.value) + if ((endbheight >= endtop && bheight >= top && !cv_splitwallfix.value) || (bheight >= top && cv_splitwallfix.value)) continue; // Found a break