Don't set ammo to 0 when out of ammo
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 28 Feb 2011 15:44:48 +0000 (17:44 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 28 Feb 2011 15:44:48 +0000 (17:44 +0200)
data/qcsrc/server/w_grabber.qc

index 40786f5..0a9bdf8 100644 (file)
@@ -138,8 +138,6 @@ float w_grabber(float req)
                                                }\r
                                                else\r
                                                {\r
-                                                       self.ammo_fuel = 0;\r
-                                                       self.weapon_load[WEP_GRABBER] = 0;\r
                                                        self.grabber_state |= GRABBER_REMOVING;\r
                                                        W_SwitchWeapon_Force(self, w_getbestweapon(self));\r
                                                }\r