From 46074f67394f313331d13a5def4eb81ca92df576 Mon Sep 17 00:00:00 2001 From: Lloyd Bryant Date: Mon, 18 Aug 2008 00:04:30 +0000 Subject: Fixed bugs with new arrow types --- src/inventory.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/inventory.cpp') diff --git a/src/inventory.cpp b/src/inventory.cpp index e6f006de..20958c44 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -80,14 +80,6 @@ void Inventory::setItem(int index, int id, int quantity, bool equipment) return; } - /* TODO: Check where to reenable this code. - // Dont stack equipment other than arrows. - if (equipment && !(id == 1199 || id == 529)) - mItems[index].setQuantity(quantity); - else - mItems[index].increaseQuantity(quantity); - */ - if (!mItems[index] && id > 0) { Item *item = new Item(id, quantity, equipment); item->setInvIndex(index); -- cgit v1.2.3-70-g09d2