From fc5a66b8d51b3aa3b27b29ddad42111fec3773e4 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Thu, 4 Nov 2021 22:49:59 +0100 Subject: [PATCH] Use Font_GetID() in the places where drawfont is used. --- src/client/hud.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/hud.qc b/src/client/hud.qc index 78088d9..5f246ff 100644 --- a/src/client/hud.qc +++ b/src/client/hud.qc @@ -746,7 +746,7 @@ HUD_DrawSpectator(void) drawfill([flSep,1], [4,30], SPEC_SEP_COL, 1.0f, DRAWFLAG_NORMAL); /* team scores */ - drawfont = FONT_CON; + drawfont = Font_GetID(FONT_CON); strText = sprintf("Terrorist Forces: %s", serverkey("teamscore_1")); vecPos[0] = flSep - stringwidth(strText, TRUE, [12,12]) - 2; vecPos[1] = g_hudmins[1] + 3;