- fixed clipping of automap background with althud and screenblocks < 10

This commit is contained in:
alexey.lysiuk 2019-03-18 10:23:55 +02:00
parent 54f5076b0f
commit 1f16fd7801
1 changed files with 1 additions and 1 deletions

View File

@ -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.