]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Comment that last change
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 21 Jan 2011 17:25:00 +0000 (19:25 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 21 Jan 2011 17:25:00 +0000 (19:25 +0200)
qcsrc/server/cl_weaponsystem.qc

index c1c87d63e972658783532e67db055f86b8a01ee5..7f9707870016b7227e6909a6fddf3b90f0cc41b1 100644 (file)
@@ -1646,6 +1646,7 @@ float W_ReloadCheck(float ammo_amount)
                        sprint(self, strcat("You don't have any ammo to reload the ^2", W_Name(self.weapon), "\n"));
                        self.reload_complain = time + 1;
                }
+               // is there's no more ammo to reload, only switch to another weapon if there's no more load in this one
                if(!self.ammo_counter)
                {
                        self.ammo_counter = -1; // reload later