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 8168f7f..e3507d6 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;
        }
 }