From 864e7033552cbb966f378cfbaf56aa116c1f97e8 Mon Sep 17 00:00:00 2001
From: James R <justsomejames2@gmail.com>
Date: Thu, 25 Jun 2020 13:03:19 -0700
Subject: [PATCH] Only fill the intermission with blapck if we can't draw
 patches

This fixes an issue where patches cease to be drawn due to Y_UnloadData, but
the screen is still overwritten, causing the next wipe to start from void.
---
 src/y_inter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/y_inter.c b/src/y_inter.c
index cd197c5cf..3c2308851 100644
--- a/src/y_inter.c
+++ b/src/y_inter.c
@@ -330,7 +330,7 @@ void Y_IntermissionDrawer(void)
 		safetorender = false;
 	}
 
-	if (!usebuffer || !safetorender)
+	if (!safetorender)
 		V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 31);
 
 	if (!safetorender)
-- 
GitLab