]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix waring.
authorunknown <jm@.(none)>
Tue, 9 Nov 2010 05:54:38 +0000 (06:54 +0100)
committerunknown <jm@.(none)>
Tue, 9 Nov 2010 05:54:38 +0000 (06:54 +0100)
qcsrc/server/w_uzi.qc

index 33f7372a19f7bfe17487548b2002d4821eb4b004..676f64f780d1fd42bfd09d4afbc80bda75bf9a7c 100644 (file)
@@ -181,18 +181,6 @@ void uzi_mode1_fire_burst()
 
 void spawnfunc_weapon_machinegun(); // defined in t_items.qc
 
-/*
-set g_balance_uzi_mode 1
-set g_balance_uzi_spread_min 0.025
-set g_balance_uzi_spread_max 0.85
-set g_balance_uzi_spread_add 0.01
-set g_balance_uzi_burst 5
-set g_balance_uzi_burst_refire 0.05
-set g_balance_uzi_burst_refire2 0.75
-set g_balance_uzi_burst_spread 0.04
-g_balance_uzi_burst_ammo
-*/
-
 float w_uzi(float req)
 {
        if (req == WR_AIM)
@@ -220,7 +208,7 @@ float w_uzi(float req)
                                {
                                        W_SwitchWeapon_Force(self, w_getbestweapon(self));
                                        w_ready();
-                                       return;
+                                       return FALSE;
                                }
                                
                                if not(self.items & IT_UNLIMITED_WEAPON_AMMO)