]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix cvar use of electro bounce params
authorRudolf Polzer <divVerent@xonotic.org>
Tue, 16 Nov 2010 12:05:19 +0000 (13:05 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 16 Nov 2010 12:05:19 +0000 (13:05 +0100)
qcsrc/server/cl_client.qc

index 8168f7fb3c9c08658b5ff4c836e039f22bf588dd..e3507d6413a8e54b4e57a4fd4fba36104916fa47 100644 (file)
@@ -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;
        }
 }