From dd83652b71d35535d3cbcdf8de8249473bc5d1f4 Mon Sep 17 00:00:00 2001
From: Monster Iestyn <iestynjealous@ntlworld.com>
Date: Wed, 31 May 2017 17:17:08 +0100
Subject: [PATCH] Whoops, this broke my non-NEWCLIP test build

---
 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 c148e7c410..d9e655237b 100644
--- a/src/hardware/hw_main.c
+++ b/src/hardware/hw_main.c
@@ -2957,7 +2957,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:
-- 
GitLab