From 76c5ff29febf7c866da693559b40f7c4db9fb147 Mon Sep 17 00:00:00 2001 From: raa-eruanna Date: Sun, 18 Sep 2016 02:26:03 -0400 Subject: [PATCH] If Inventory.MaxAmount > 1 on weapons, allow and track multiple pickups. --- src/g_shared/a_weapons.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/g_shared/a_weapons.cpp b/src/g_shared/a_weapons.cpp index 575914fe8..6143f5206 100644 --- a/src/g_shared/a_weapons.cpp +++ b/src/g_shared/a_weapons.cpp @@ -222,6 +222,10 @@ bool AWeapon::HandlePickup (AInventory *item) { item->ItemFlags |= IF_PICKUPGOOD; } + if (MaxAmount > 1) //[SP] If amount