From 6866eabaef34b2a622819a603ee998918aba2823 Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Mon, 14 Jun 2021 13:11:33 +0700 Subject: [PATCH] fix automap overlay mode stay on screen after wipe (#223) --- Source/d_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/d_main.c b/Source/d_main.c index 9fa621fd..745e1b9c 100644 --- a/Source/d_main.c +++ b/Source/d_main.c @@ -298,7 +298,7 @@ void D_Display (void) inhelpscreensstate = inhelpscreens; oldgamestate = wipegamestate = gamestate; - if (automapactive && automapoverlay) + if (gamestate == GS_LEVEL && automapactive && automapoverlay) { AM_Drawer(); HU_Drawer();