Use Font_GetID() in the places where drawfont is used.

This commit is contained in:
Marco Cawthorne 2021-11-04 22:49:59 +01:00
parent 7c1397df18
commit fc5a66b8d5
Signed by: eukara
GPG key ID: C196CD8BA993248A

View file

@ -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;