Skip to content

Commit

Permalink
Fix toggling graphic detail with F5 key in some instances
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Oct 28, 2023
1 parent 461a65e commit 5b6fec8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3480,8 +3480,7 @@ bool M_Responder(event_t *ev)
}

// Toggle graphic detail
if (key == KEY_F5 && !functionkey && gamestate == GS_LEVEL
&& (r_screensize < r_screensize_max || !automapactive) && !keydown)
if (key == KEY_F5 && !functionkey && gamestate == GS_LEVEL && !keydown)
{
keydown = key;
functionkey = KEY_F5;
Expand Down

0 comments on commit 5b6fec8

Please sign in to comment.