From 7e3bc6a2e1b1f923242f7e681394778702cfc30b Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 14 Sep 2005 04:22:17 +0000 Subject: [PATCH] new cvar to disable ^b, especially with people's names on the hud.. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1319 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_draw.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/engine/gl/gl_draw.c b/engine/gl/gl_draw.c index f82c53339..4384c5189 100644 --- a/engine/gl/gl_draw.c +++ b/engine/gl/gl_draw.c @@ -58,6 +58,7 @@ extern cvar_t gl_picmip2d; extern cvar_t r_drawdisk; extern cvar_t gl_compress; extern cvar_t gl_font, gl_conback, gl_smoothfont, gl_fontedgeclamp; +extern cvar_t cl_noblink; extern cvar_t gl_savecompressedtex; @@ -1230,8 +1231,9 @@ void GLDraw_ColouredCharacter (int x, int y, unsigned int num) if (num & CON_BLINKTEXT) { - if ((int)(realtime*3) & 1) - return; + if (!cl_noblink.value) + if ((int)(realtime*3) & 1) + return; } {