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