From 05471e042d3211b13b3e823bf79943b6661b5271 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 12 Jun 2014 20:09:19 +1000 Subject: [PATCH] Timer turns red as it's about to explode --- qcsrc/client/View.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index d4f7c8584..a069faa46 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -1162,7 +1162,7 @@ void CSQC_UpdateView(float w, float h) if(!intermission) if(getstatf(STAT_NADE_TIMER) && autocvar_cl_nade_timer) // give nade top priority, as it's a matter of life and death { - DrawCircleClippedPic(eX * 0.5 * vid_conwidth + eY * 0.6 * vid_conheight, 0.1 * vid_conheight, "gfx/crosshair_ring.tga", getstatf(STAT_NADE_TIMER), '0.25 0.90 1', autocvar_hud_colorflash_alpha, DRAWFLAG_ADDITIVE); + DrawCircleClippedPic(eX * 0.5 * vid_conwidth + eY * 0.6 * vid_conheight, 0.1 * vid_conheight, "gfx/crosshair_ring.tga", getstatf(STAT_NADE_TIMER), '0.25 0.90 1' + ('1 0 0' * getstatf(STAT_NADE_TIMER)) - ('0 1 1' * getstatf(STAT_NADE_TIMER)), autocvar_hud_colorflash_alpha, DRAWFLAG_ADDITIVE); drawstring_aspect(eY * 0.64 * vid_conheight, ((autocvar_cl_nade_timer == 2) ? _("Nade timer") : ""), eX * vid_conwidth + eY * 0.025 * vid_conheight, '1 1 1', 1, DRAWFLAG_NORMAL); } else if(getstatf(STAT_REVIVE_PROGRESS)) -- 2.39.2