diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 046edc61c..5592d05b3 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -3060,7 +3060,7 @@ static void HWR_AddLine(seg_t * line) // Identical floor and ceiling on both sides, // identical light levels on both sides, // and no middle texture. - if (R_IsEmptyLine(curline, frontsector, backsector)) + if (R_IsEmptyLine(gr_curline, gr_frontsector, gr_backsector)) return; clippass: