From 04d774c76515a76f548c58929502484d02bfd2fc Mon Sep 17 00:00:00 2001
From: James R <justsomejames2@gmail.com>
Date: Mon, 24 Aug 2020 18:06:00 -0700
Subject: [PATCH] Fix NOHW compiling

---
 src/p_setup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/p_setup.c b/src/p_setup.c
index f9e23a5ea..301ba384e 100644
--- a/src/p_setup.c
+++ b/src/p_setup.c
@@ -1401,8 +1401,6 @@ static void P_LoadRawSideDefs2(void *data)
 {
 	UINT16 i;
 	INT32 num;
-	size_t j;
-	RGBA_t color;
 
 	for (i = 0; i < numsides; i++)
 	{
@@ -1469,6 +1467,8 @@ static void P_LoadRawSideDefs2(void *data)
 						|| (msd->bottomtexture[0] == '#' && msd->bottomtexture[1] && msd->bottomtexture[2] && msd->bottomtexture[3] && msd->bottomtexture[4] && msd->bottomtexture[5] && msd->bottomtexture[6]))
 					{
 						char *col;
+						RGBA_t color;
+						size_t j;
 
 						sec->midmap = R_CreateColormap(msd->toptexture, msd->midtexture,
 							msd->bottomtexture);
-- 
GitLab