From f402c86fe08012b84fd02e4c86887c516248ceab Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 14 Sep 2005 04:43:03 +0000 Subject: [PATCH] Cvar to disable ^b stuff. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1333 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/sw/sw_draw.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/engine/sw/sw_draw.c b/engine/sw/sw_draw.c index 61d963d62..566dff778 100644 --- a/engine/sw/sw_draw.c +++ b/engine/sw/sw_draw.c @@ -671,6 +671,7 @@ void SWDraw_ColouredCharacter (int x, int y, unsigned int num) qbyte *source; int drawline; int row, col; + extern cvar_t cl_noblink; int colour; @@ -684,8 +685,9 @@ int colour; if (num & CON_BLINKTEXT) { - if ((int)(cl.time*2) & 1) - return; + if (!cl_noblink.value) + if ((int)(cl.time*2) & 1) + return; } if (colour == COLOR_WHITE)