more give ALL changes :P
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Mon, 25 Jan 2010 17:13:32 +0000 (17:13 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Mon, 25 Jan 2010 17:13:32 +0000 (17:13 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8571 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/server/t_items.qc

index 92e8f28..b8980e6 100644 (file)
@@ -1657,8 +1657,9 @@ float GiveItems(entity e, float beginarg, float endarg)
                                got += GiveBit(e, items, IT_FUEL_REGEN, op, val, "misc/itempickup.wav", string_null);
                                got += GiveValue(e, strength_finished, op, time + val, "misc/powerup.wav", "misc/poweroff.wav");
                                got += GiveValue(e, invincible_finished, op, time + val, "misc/powerup_shield.wav", "misc/poweroff.wav");
+                               got += GiveBit(e, items, IT_UNLIMITED_AMMO, op, val, "misc/powerup.wav", "misc/poweroff.wav");
                        case "all":
-                               got += GiveBit(e, items, IT_UNLIMITED_AMMO | IT_JETPACK, op, val, "misc/powerup.wav", "misc/poweroff.wav");
+                               got += GiveBit(e, items, IT_JETPACK, op, val, "misc/powerup.wav", "misc/poweroff.wav");
                                got += GiveValue(e, ammo_cells, op, val, "misc/itempickup.wav", string_null);
                                got += GiveValue(e, ammo_shells, op, val, "misc/itempickup.wav", string_null);
                                got += GiveValue(e, ammo_nails, op, val, "misc/itempickup.wav", string_null);