Skip to content

Commit

Permalink
Turn r_althud CVAR off if pressing + key when r_screensize CVAR…
Browse files Browse the repository at this point in the history
… is `7`
  • Loading branch information
bradharding committed Sep 24, 2024
1 parent 63f1495 commit 22ba878
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2487,6 +2487,12 @@ static void M_SizeDisplay(int choice)
{
r_hud = true;
C_StringCVAROutput(stringize(r_hud), "on");

if (r_althud)
{
r_althud = false;
C_StringCVAROutput(stringize(r_althud), "off");
}
}

S_StartSound(NULL, sfx_stnmov);
Expand Down

0 comments on commit 22ba878

Please sign in to comment.