]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
use g_balance_laser_primary_refire on the minstanex laser instead of the hardcoded...
authorFruitieX <fruitiex@gmail.com>
Wed, 10 Nov 2010 11:38:25 +0000 (13:38 +0200)
committerFruitieX <fruitiex@gmail.com>
Wed, 10 Nov 2010 11:38:25 +0000 (13:38 +0200)
qcsrc/server/w_minstanex.qc

index 352aa2b25c6edfee928e7b3541eb51f9b9a58ad5..0d815ee6728d356ebeb29d5f95cb8c43d16a2399 100644 (file)
@@ -195,7 +195,7 @@ float w_minstanex(float req)
                {
                        if (self.jump_interval <= time)
                        {
-                               self.jump_interval = time + 0.9 * W_WeaponRateFactor();
+                               self.jump_interval = time + cvar("g_balance_laser_primary_refire") * W_WeaponRateFactor();
 
                                // ugly minstagib hack to reuse the fire mode of the laser
                                float w;