From: MirceaKitsune Date: Tue, 15 Nov 2011 17:13:45 +0000 (+0200) Subject: Fix a bug in last commit X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b6b2ce8166c2b76860d457771ff62d2d5d3fdd3a;p=voretournament%2Fvoretournament.git Fix a bug in last commit --- diff --git a/data/qcsrc/server/cl_client.qc b/data/qcsrc/server/cl_client.qc index 6c3fc4ab..ed742266 100644 --- a/data/qcsrc/server/cl_client.qc +++ b/data/qcsrc/server/cl_client.qc @@ -1060,9 +1060,6 @@ float ClientInit_SendEntity(entity to, float sf) WriteShort(MSG_ENTITY, cvar("g_healthsize_min")); WriteShort(MSG_ENTITY, cvar("g_healthsize_max")); - WriteShort(MSG_ENTITY, cvar("g_power")); - WriteShort(MSG_ENTITY, cvar("g_power_reboot")); - // tell the client if this server uses armor float armor_max; 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")) @@ -1074,6 +1071,9 @@ float ClientInit_SendEntity(entity to, float sf) teamheal_max = cvar("g_balance_vore_teamheal_stable"); WriteCoord(MSG_ENTITY, teamheal_max); + WriteShort(MSG_ENTITY, cvar("g_power")); + WriteShort(MSG_ENTITY, cvar("g_power_reboot")); + return TRUE; }