fix give 30 ALL ;)
authorRudolf Polzer <divverent@alientrap.org>
Tue, 11 May 2010 17:59:18 +0000 (19:59 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 11 May 2010 17:59:18 +0000 (19:59 +0200)
qcsrc/server/t_items.qc

index 02ad99fc991c9917f14484e118a154ed16f4037b..280195807633846a062c532eee4c2631c8ea2c09 100644 (file)
@@ -1640,8 +1640,8 @@ float GiveItems(entity e, float beginarg, float endarg)
                                continue;
                        case "ALL":
                                got += GiveBit(e, items, IT_FUEL_REGEN, op, val);
-                               got += GiveValue(e, strength_finished, op, time + val);
-                               got += GiveValue(e, invincible_finished, op, time + val);
+                               got += GiveValue(e, strength_finished, op, time);
+                               got += GiveValue(e, invincible_finished, op, time);
                                got += GiveBit(e, items, IT_UNLIMITED_AMMO, op, val);
                        case "all":
                                got += GiveBit(e, items, IT_JETPACK, op, val);