Skip to content

Commit

Permalink
No centerprint background 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 f82df99 commit 15a18f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quake/gl_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ static void SCR_DrawCenterStringBG (int y, float alpha)
const char *str;
int i, len, lines, x;

if (q_min (scr_center_lines, scr_center_maxcols) <= 0)
if (cl.intermission || q_min (scr_center_lines, scr_center_maxcols) <= 0 || alpha <= 0.f)
return;

// skip leading empty lines (might be there just to reposition the text)
Expand Down

0 comments on commit 15a18f0

Please sign in to comment.