Unhook while reloading
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 28 Feb 2011 14:52:30 +0000 (16:52 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 28 Feb 2011 14:52:30 +0000 (16:52 +0200)
data/qcsrc/server/w_grabber.qc

index 126f424..1d2266b 100644 (file)
@@ -214,6 +214,7 @@ float w_grabber(float req)
        }\r
        else if (req == WR_RELOAD)\r
        {\r
+               self.grabber_state |= GRABBER_REMOVING;\r
                W_Reload(min(cvar("g_balance_grabber_primary_ammo"), cvar("g_balance_grabber_secondary_ammo")), cvar("g_balance_grabber_reload_ammo"), cvar("g_balance_grabber_reload_time"), "weapons/reload.wav");\r
        }\r
        else if (req == WR_SUICIDEMESSAGE)\r