From ebca05297456aa7f098594ef9b07d24374f262e5 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 18 Jul 2011 23:55:02 +0300 Subject: [PATCH] Remove the % symbol from the capacity indicator. It was only being confusing --- data/qcsrc/client/sbar.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index cb5c184e..72dc19d6 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -3037,14 +3037,14 @@ void Sbar_Draw (void) 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), "%"); - status_pos = bottomleft - '-44 168 0'; + status_text = strcat(ftos(stomach_load), "^8/", status_color, ftos(stomach_maxload)); + status_pos = bottomleft - '-43 168 0'; status_size = 16; } else if(g_healthsize) // no point in showing it otherwise { - status_text = strcat(status_color, ftos(stomach_maxload), "%"); - status_pos = bottomleft - '-44 170 0'; + status_text = strcat(status_color, ftos(stomach_maxload)); + status_pos = bottomleft - '-43 170 0'; status_size = 20; } status_pos -= '1 0 0' * stringwidth(status_text, TRUE, '1 0 0' * status_size) * 0.5; -- 2.39.2