]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Oops. Fix this.
authorRudolf Polzer <divverent@xonotic.org>
Tue, 22 Oct 2013 11:24:28 +0000 (13:24 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 22 Oct 2013 11:24:28 +0000 (13:24 +0200)
qcsrc/server/item_ammo.qc

index eebc3c96f3c4ebf6ff6b212f955f83749b808c39..5fa9d00e9543a69eb583ba83813287c2d5b24296 100644 (file)
@@ -143,7 +143,7 @@ void item_ammo_pick()
                        if (get_weaponinfo(w.weapon).items & item_ammo_type(i))
                        {
                                item_ammo_count[i] += item_ammo_modifier(i) * item_ammo_weaponmodifier(w.weapon) * c;
-                               // item_ammo_mincount[i] = n_teams;  // Not needed, weapons serve as ammo pickups too.
+                               item_ammo_mincount[i] = 0;  // n_teams;  // Not needed, weapons serve as ammo pickups too.
                        }
        }
        float n_count = 0;