summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorLloyd Bryant <lloyd_bryant@netzero.net>2008-08-18 00:04:30 +0000
committerLloyd Bryant <lloyd_bryant@netzero.net>2008-08-18 00:04:30 +0000
commit46074f67394f313331d13a5def4eb81ca92df576 (patch)
treee5c5fa2c4bd599657846918bdf88c27203a99eb6 /src/inventory.cpp
parentd5b86aa54dfa4ddf5b5f2361918c719ba8d0dd18 (diff)
downloadMana-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.cpp8
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);