From: Rudolf Polzer Date: Tue, 16 Nov 2010 12:05:19 +0000 (+0100) Subject: fix cvar use of electro bounce params X-Git-Tag: xonotic-v0.1.0preview~128 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6bf63428ad2a9a166ee8238c4ee5555241c40f1b;p=xonotic%2Fxonotic-data.pk3dir.git fix cvar use of electro bounce params --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 8168f7fb3..e3507d641 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -1133,14 +1133,14 @@ void ClientInit_CheckUpdate() self.bouncestop = cvar("g_balance_grenadelauncher_bouncestop"); self.SendFlags |= 1; } - if(self.ebouncefactor != cvar("g_balance_electro_bouncefactor")) + if(self.ebouncefactor != cvar("g_balance_electro_secondary_bouncefactor")) { - self.ebouncefactor = cvar("g_balance_electro_bouncefactor"); + self.ebouncefactor = cvar("g_balance_electro_secondary_bouncefactor"); self.SendFlags |= 1; } - if(self.ebouncestop != cvar("g_balance_electro_bouncestop")) + if(self.ebouncestop != cvar("g_balance_electro_secondary_bouncestop")) { - self.ebouncestop = cvar("g_balance_electro_bouncestop"); + self.ebouncestop = cvar("g_balance_electro_secondary_bouncestop"); self.SendFlags |= 1; } }