From 8de06a93f9c2e62c57392d7bbc44fdba1855fcb4 Mon Sep 17 00:00:00 2001
From: Jaime Passos <lazymyuutsu@gmail.com>
Date: Mon, 18 Nov 2019 20:07:37 -0300
Subject: [PATCH] remove UINT8 wipecolorfill

---
 src/f_finale.h | 3 +--
 src/f_wipe.c   | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/f_finale.h b/src/f_finale.h
index b5334c29a0..024b183b24 100644
--- a/src/f_finale.h
+++ b/src/f_finale.h
@@ -165,7 +165,6 @@ extern wipestyleflags_t wipestyleflags;
 #define FADEGREENFACTOR 15
 #define FADEBLUEFACTOR  10
 
-extern UINT8 wipecolorfill;
 extern INT32 lastwipetic;
 
 // Don't know where else to place this constant
@@ -176,7 +175,7 @@ void F_WipeStartScreen(void);
 void F_WipeEndScreen(void);
 void F_RunWipe(UINT8 wipetype, boolean drawMenu);
 void F_WipeStageTitle(void);
-#define F_WipeColorFill(c) V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, (wipecolorfill = c))
+#define F_WipeColorFill(c) V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, c)
 tic_t F_GetWipeLength(UINT8 wipetype);
 boolean F_WipeExists(UINT8 wipetype);
 
diff --git a/src/f_wipe.c b/src/f_wipe.c
index b2283c5744..20651cb1df 100644
--- a/src/f_wipe.c
+++ b/src/f_wipe.c
@@ -103,8 +103,6 @@ static UINT8 *wipe_scr_end; //screen 4
 static UINT8 *wipe_scr; //screen 0 (main drawing)
 static fixed_t paldiv = 0;
 
-UINT8 wipecolorfill = 31;
-
 /** Create fademask_t from lump
   *
   * \param	lump	Lump name to get data from
-- 
GitLab