Skip to content

Commit

Permalink
in automap overlay mode, draw the automap beneath the bezel
Browse files Browse the repository at this point in the history
Thanks @derek57 for reporting
  • Loading branch information
fabiangreffrath committed Jul 1, 2015
1 parent d0a8c79 commit 8acfb03
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/doom/d_main.c
Expand Up @@ -304,6 +304,13 @@ void D_Display (void)
R_FillBackScreen (); // draw the pattern into the back screen
}

// [crispy] in automap overlay mode,
// draw the automap beneath the bezel
if (automapactive && crispy_automapoverlay)
{
AM_Drawer ();
}

// see if the border needs to be updated to the screen
if (gamestate == GS_LEVEL && (!automapactive || (automapactive && crispy_automapoverlay)) && scaledviewwidth != (320 << hires))
{
Expand All @@ -330,10 +337,9 @@ void D_Display (void)
oldgamestate = wipegamestate = gamestate;

// [crispy] in automap overlay mode,
// draw the automap and HUD on top of everything else
// draw the HUD on top of everything else
if (automapactive && crispy_automapoverlay)
{
AM_Drawer ();
HU_Drawer ();

// [crispy] force redraw of status bar and border
Expand Down

0 comments on commit 8acfb03

Please sign in to comment.