]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix a bug in last commit
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 17:13:45 +0000 (19:13 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 17:13:45 +0000 (19:13 +0200)
data/qcsrc/server/cl_client.qc

index 6c3fc4ab3994a20439cc006323425f0ac004599f..ed742266b625f50ad5276a23afa8af107cb07c4a 100644 (file)
@@ -1060,9 +1060,6 @@ float ClientInit_SendEntity(entity to, float sf)
        WriteShort(MSG_ENTITY, cvar("g_healthsize_min"));\r
        WriteShort(MSG_ENTITY, cvar("g_healthsize_max"));\r
 \r
-       WriteShort(MSG_ENTITY, cvar("g_power"));\r
-       WriteShort(MSG_ENTITY, cvar("g_power_reboot"));\r
-\r
        // tell the client if this server uses armor\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
@@ -1074,6 +1071,9 @@ float ClientInit_SendEntity(entity to, float sf)
                teamheal_max = cvar("g_balance_vore_teamheal_stable");\r
        WriteCoord(MSG_ENTITY, teamheal_max);\r
 \r
+       WriteShort(MSG_ENTITY, cvar("g_power"));\r
+       WriteShort(MSG_ENTITY, cvar("g_power_reboot"));\r
+\r
        return TRUE;\r
 }\r
 \r