From d119208ab2f5a4a00b1ccfadcbae40d08aeff746 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 21 Apr 2022 03:25:24 +0300 Subject: [PATCH] silence 'Unknown command "scr_usekfont"' message from 2021 re-release. --- Quake/gl_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Quake/gl_screen.c b/Quake/gl_screen.c index d6a361eb..1c254a40 100644 --- a/Quake/gl_screen.c +++ b/Quake/gl_screen.c @@ -87,6 +87,7 @@ cvar_t scr_crosshairscale = {"scr_crosshairscale", "1", CVAR_ARCHIVE}; cvar_t scr_showfps = {"scr_showfps", "0", CVAR_NONE}; cvar_t scr_clock = {"scr_clock", "0", CVAR_NONE}; //johnfitz +cvar_t scr_usekfont = {"scr_usekfont", "0", CVAR_NONE}; // 2021 re-release cvar_t scr_viewsize = {"viewsize","100", CVAR_ARCHIVE}; cvar_t scr_fov = {"fov","90",CVAR_NONE}; // 10 - 170 @@ -410,6 +411,7 @@ void SCR_Init (void) Cvar_RegisterVariable (&scr_showfps); Cvar_RegisterVariable (&scr_clock); //johnfitz + Cvar_RegisterVariable (&scr_usekfont); // 2021 re-release Cvar_SetCallback (&scr_fov, SCR_Callback_refdef); Cvar_SetCallback (&scr_fov_adapt, SCR_Callback_refdef); Cvar_SetCallback (&scr_viewsize, SCR_Callback_refdef);