Skip to content

Commit

Permalink
Further improvements to using menu
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Sep 3, 2023
1 parent 930872b commit 9d5a69f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2020,7 +2020,7 @@ static void M_EndGameResponse(int key)
return;
}

currentmenu->laston = itemon;
currentmenu->laston = itemon + 1;
S_StopMusic();
M_CloseMenu();
viewactive = false;
Expand Down Expand Up @@ -3196,9 +3196,9 @@ bool M_Responder(event_t *ev)
r_hud = false;
C_StringCVAROutput(stringize(r_hud), "off");
}
}

R_SetViewSize(r_screensize - 1);
R_SetViewSize(r_screensize - (menuactive && viewactive ? 1 : 0));
}

I_RestartGraphics(false);
S_StartSound(NULL, sfx_stnmov);
Expand All @@ -3224,7 +3224,7 @@ bool M_Responder(event_t *ev)
vid_widescreen = true;
C_StringCVAROutput(stringize(vid_widescreen), "on");

R_SetViewSize(r_screensize + 1);
R_SetViewSize(r_screensize + (menuactive && viewactive ? 1 : 0));
I_RestartGraphics(false);
S_StartSound(NULL, sfx_stnmov);
M_SaveCVARs();
Expand Down

0 comments on commit 9d5a69f

Please sign in to comment.