]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_client.qc
Offset the names for scaled players, to match the proper scale
[voretournament/voretournament.git] / data / qcsrc / server / cl_client.qc
index 8f058155c16a32c95245724dd31d9a967fafb382..94f5936c99f66a1725cb1aa3769629630b232322 100644 (file)
@@ -1044,12 +1044,13 @@ float ClientInit_SendEntity(entity to, float sf)
 \r
        WriteCoord(MSG_ENTITY, cvar("g_vore"));\r
        WriteCoord(MSG_ENTITY, g_balance_vore_swallow_limit);\r
+       WriteCoord(MSG_ENTITY, cvar("g_healthsize"));\r
 \r
        // tell the client if this server uses armor\r
-       float armor_enabled;\r
-       if(cvar("g_balance_armor_start") || (cvar("g_lms") && cvar("g_lms_start_armor")) || (inWarmupStage && cvar("g_warmup_start_armor")) || cvar("g_balance_armor_regen") || cvar("g_balance_armor_regenlinear"))\r
-               armor_enabled = TRUE;\r
-       WriteByte(MSG_ENTITY, armor_enabled);\r
+       float armor_max;\r
+       if(cvar("g_balance_armor_start") || (cvar("g_lms") && cvar("g_lms_start_armor")) /*|| (inWarmupStage && cvar("g_warmup_start_armor"))*/ || cvar("g_balance_armor_regen") || cvar("g_balance_armor_regenlinear"))\r
+               armor_max = cvar("g_balance_armor_limit");\r
+       WriteCoord(MSG_ENTITY, armor_max);\r
 \r
        return TRUE;\r
 }\r