From ee479630ceae85d1d5505240e4f6ae53ff94c9fd Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 18 Jul 2011 23:02:11 +0300 Subject: [PATCH] Make stomach capacity twice brighter than health / armor colors, to not be confusing --- data/qcsrc/client/sbar.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index deecd121..cb5c184e 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -3034,7 +3034,7 @@ void Sbar_Draw (void) vector status_pos; string status_text, status_color; float status_size; - status_color = rgb_to_hexcolor(Sbar_NumColor(stomach_maxload)); + status_color = rgb_to_hexcolor('0.5 0.5 0.5' + Sbar_NumColor(stomach_maxload) * 0.5); // twice brighter than health / armor colors if(stomach_load) { status_text = strcat(ftos(stomach_load), "^8/", status_color, ftos(stomach_maxload), "%"); -- 2.39.2