diff options
author | Lloyd Bryant <lloyd_bryant@netzero.net> | 2008-08-18 00:04:30 +0000 |
---|---|---|
committer | Lloyd Bryant <lloyd_bryant@netzero.net> | 2008-08-18 00:04:30 +0000 |
commit | 46074f67394f313331d13a5def4eb81ca92df576 (patch) | |
tree | e5c5fa2c4bd599657846918bdf88c27203a99eb6 /src/inventory.cpp | |
parent | d5b86aa54dfa4ddf5b5f2361918c719ba8d0dd18 (diff) | |
download | mana-46074f67394f313331d13a5def4eb81ca92df576.tar.gz mana-46074f67394f313331d13a5def4eb81ca92df576.tar.bz2 mana-46074f67394f313331d13a5def4eb81ca92df576.tar.xz mana-46074f67394f313331d13a5def4eb81ca92df576.zip |
Fixed bugs with new arrow types
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
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); |