Menus/Pause: never show musicdef if music is muted

- If music is muted after the musicdef appeared, the text
  would get frozen in its current state
- Don't draw the frozen state
This commit is contained in:
James R 2024-03-14 06:44:44 -07:00
parent 1da7a5c1da
commit fe878e6d6a

View file

@ -5656,7 +5656,7 @@ void M_DrawPause(void)
INT32 x = Easing_OutQuad(mt, -BASEVIDWIDTH, 0);
INT32 y = 56;
if (g_realsongcredit)
if (g_realsongcredit && !S_MusicDisabled())
{
V_DrawThinString(x + 2, y, 0, g_realsongcredit);
}