Add symbols for health and armor
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 9 Jul 2011 11:07:38 +0000 (14:07 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 9 Jul 2011 11:07:38 +0000 (14:07 +0300)
data/qcsrc/client/shownames.qc

index cfadaf8b70292ba5f2abe59ace494e881b34fb34..38f708c9730bbba8511f3b5abefcfeb4a5c584df 100644 (file)
@@ -134,9 +134,9 @@ void Draw_ShowNames(entity ent)
                        if(sameteam && ent.healthvalue > 0)
                        {
                                if(ent.armorvalue)
-                                       s = strcat(s, "^7 (^1", ftos(ent.healthvalue), "^7|^2", ftos(ent.armorvalue), "^7)");
+                                       s = strcat(s, "^7 (^1+", ftos(ent.healthvalue), "^7|^2*", ftos(ent.armorvalue), "^7)");
                                else
-                                       s = strcat(s, "^7 (^1", ftos(ent.healthvalue), "^7)");
+                                       s = strcat(s, "^7 (^1+", ftos(ent.healthvalue), "^7)");
 
                                // if team healing is enabled, mark the team mate as possible to heal
                                if(ent.healthvalue < teamheal_max)