From e973a1b13477a2fcfc6ed3fd04e09699cc603d52 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Wed, 11 Oct 2023 13:40:19 -0700 Subject: [PATCH] Client: spectator bars on top/bottom should stretch to fill the screen, even with cl_hudaspect set --- src/client/hud.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/hud.qc b/src/client/hud.qc index 7ebaa06..a6866ba 100644 --- a/src/client/hud.qc +++ b/src/client/hud.qc @@ -754,8 +754,8 @@ HUD_DrawSpectator(void) Textmenu_Draw(); /* parts on top and bottom */ - drawfill(g_hudmins, [g_hudres[0], 32], [0,0,0], 0.75f, DRAWFLAG_NORMAL); - drawfill(g_hudmins + [0, g_hudres[1]-32], [g_hudres[0], 32], [0,0,0], 0.75f, DRAWFLAG_NORMAL); + drawfill(video_mins, [video_res[0], 32], [0,0,0], 0.75f, DRAWFLAG_NORMAL); + drawfill(video_mins + [0, video_res[1]-32], [video_res[0], 32], [0,0,0], 0.75f, DRAWFLAG_NORMAL); /* tracking player box */ drawrect(g_hudmins + [(g_hudres[0] / 2) - 111, g_hudres[1]-26], [222,20], 1.0f, SPEC_SEP_COL, 1.0f, DRAWFLAG_NORMAL);