Skip to content

Commit

Permalink
No centerprint background live preview during end screen
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-drexler committed Sep 9, 2024
1 parent 15a18f0 commit 355c8fb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Quake/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3531,7 +3531,7 @@ static qboolean M_Options_WantsConsole (void)

static float M_Options_ForcedCenterPrint (void)
{
return optionsmenu.preview.id == OPT_CENTERPRINTBG ? optionsmenu.preview.frac : 0.f;
return optionsmenu.preview.id == OPT_CENTERPRINTBG && !cl.intermission ? optionsmenu.preview.frac : 0.f;
}

static void M_Options_Preview (int id)
Expand All @@ -3555,6 +3555,11 @@ static void M_Options_Preview (int id)
break;

case OPT_CENTERPRINTBG:
if (cl.intermission)
{
id = -1;
break;
}
SCR_CenterPrint (
"Certain messages appear inconveniently\n"
"in the middle of your view. These are\n"
Expand Down

0 comments on commit 355c8fb

Please sign in to comment.