]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/ent_cs.qc
Only show the health and armor of team mates, not enemies. Sadly, the health of all...
[voretournament/voretournament.git] / data / qcsrc / server / ent_cs.qc
index 9fc1ecb59b0d5ce7f2cb005dbc554b13d36b8079..9bed96b77f1b826748f8fae34eb2338b688491c0 100644 (file)
@@ -48,9 +48,9 @@ float entcs_send(entity to, float sf)
        if(sf & 4)\r
                WriteByte(MSG_ENTITY, self.angles_y * 256.0 / 360);\r
        if(sf & 8)\r
-               WriteByte(MSG_ENTITY, self.health / 10); // FIXME use a better scale?\r
+               WriteCoord(MSG_ENTITY, self.health);\r
        if(sf & 16)\r
-               WriteByte(MSG_ENTITY, self.armorvalue / 10); // FIXME use a better scale?\r
+               WriteCoord(MSG_ENTITY, self.armorvalue);\r
        if(sf & 32)\r
                WriteByte(MSG_ENTITY, num_for_edict(self.predator));\r
        return TRUE;\r