]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Remove the % symbol from the capacity indicator. It was only being confusing
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Jul 2011 20:55:02 +0000 (23:55 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 18 Jul 2011 20:55:02 +0000 (23:55 +0300)
data/qcsrc/client/sbar.qc

index cb5c184e9fcac1e2afc6459eb09ed18858837d98..72dc19d646b07c797bd9dfc79b3b172dfc78a2a2 100644 (file)
@@ -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\r
                        if(stomach_load)\r
                        {\r
-                               status_text = strcat(ftos(stomach_load), "^8/", status_color, ftos(stomach_maxload), "%");\r
-                               status_pos = bottomleft - '-44 168 0';\r
+                               status_text = strcat(ftos(stomach_load), "^8/", status_color, ftos(stomach_maxload));\r
+                               status_pos = bottomleft - '-43 168 0';\r
                                status_size = 16;\r
                        }\r
                        else if(g_healthsize) // no point in showing it otherwise\r
                        {\r
-                               status_text = strcat(status_color, ftos(stomach_maxload), "%");\r
-                               status_pos = bottomleft - '-44 170 0';\r
+                               status_text = strcat(status_color, ftos(stomach_maxload));\r
+                               status_pos = bottomleft - '-43 170 0';\r
                                status_size = 20;\r
                        }\r
                        status_pos -= '1 0 0' * stringwidth(status_text, TRUE, '1 0 0' * status_size) * 0.5;\r