Actually, allow reloading inside bellies. Better and safer for what we have right...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 17 Apr 2011 01:51:10 +0000 (04:51 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 17 Apr 2011 01:51:10 +0000 (04:51 +0300)
data/qcsrc/server/cl_weaponsystem.qc

index 6c086a0..e8f7fcd 100644 (file)
@@ -1617,9 +1617,6 @@ void W_Reload(float sent_ammo_min, float sent_ammo_amount, float sent_time, stri
        // return if reloading is disabled for this weapon\r
        if(!self.reload_ammo_amount)\r
                return;\r
-       // we can't reload weapons inside someone's stomach\r
-       if(self.predator.classname == "player")\r
-               return;\r
        // our weapon is fully loaded, no need to reload\r
        if (self.clip_load >= self.reload_ammo_amount)\r
                return;\r