From 1f16fd7801e7270fcc7015d64aff79f818be2965 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 18 Mar 2019 10:23:55 +0200 Subject: [PATCH] - fixed clipping of automap background with althud and screenblocks < 10 --- src/d_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index 6cc176a3b..81ce4b8a3 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -790,7 +790,7 @@ void D_Display () screen->DrawBlend(viewsec); if (automapactive) { - primaryLevel->automap->Drawer (hud_althud? viewheight : StatusBar->GetTopOfStatusbar()); + primaryLevel->automap->Drawer ((hud_althud && viewheight == SCREENHEIGHT) ? viewheight : StatusBar->GetTopOfStatusbar()); } // for timing the statusbar code.