From: MirceaKitsune Date: Mon, 18 Jul 2011 20:55:02 +0000 (+0300) Subject: Remove the % symbol from the capacity indicator. It was only being confusing X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ebca05297456aa7f098594ef9b07d24374f262e5;p=voretournament%2Fvoretournament.git Remove the % symbol from the capacity indicator. It was only being confusing --- 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;