- 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

View file

@ -790,7 +790,7 @@ void D_Display ()
screen->DrawBlend(viewsec); screen->DrawBlend(viewsec);
if (automapactive) 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. // for timing the statusbar code.