From a76c8af60ca4aa5805b123c9fbec21328ea26442 Mon Sep 17 00:00:00 2001
From: MascaraSnake <jonassauer27@gmail.com>
Date: Tue, 9 Jun 2020 22:10:02 +0200
Subject: [PATCH] Compiling fix

---
 src/p_polyobj.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/p_polyobj.c b/src/p_polyobj.c
index 997d482821..fb07b52d0f 100644
--- a/src/p_polyobj.c
+++ b/src/p_polyobj.c
@@ -231,7 +231,7 @@ static void Polyobj_GetInfo(polyobj_t *po, line_t *line)
 	/*if (line->args[3] & TMPF_DONTCLIPPLANES)
 		po->flags &= ~POF_CLIPPLANES;*/
 
-	if (lines[i].flags & TMPF_SPLAT)
+	if (line->args[3] & TMPF_SPLAT)
 		po->flags |= POF_SPLAT;
 
 	if (line->args[3] & TMPF_EXECUTOR) // Has a linedef executor
-- 
GitLab