summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-12-07 14:16:26 -0700
committerJared Adams <jaxad0127@gmail.com>2009-12-07 14:16:26 -0700
commit4d9bbc8d2eea82fb4e60634b611d0058f74ebb82 (patch)
tree42ecc3776564cca78e99a9e562ab0b1009190fbe /src/inventory.cpp
parent2f310b3040dcb56bd9ed1868dfa4f74b3fd00136 (diff)
downloadmana-4d9bbc8d2eea82fb4e60634b611d0058f74ebb82.tar.gz
mana-4d9bbc8d2eea82fb4e60634b611d0058f74ebb82.tar.bz2
mana-4d9bbc8d2eea82fb4e60634b611d0058f74ebb82.tar.xz
mana-4d9bbc8d2eea82fb4e60634b611d0058f74ebb82.zip
Fix bugs in eAthena's equipment handling
Do a bit of cleanup too.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 202c3e52..0e5108ac 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -83,7 +83,6 @@ void Inventory::setItem(int index, int id, int quantity, bool equipment)
Item *item = new Item(id, quantity, equipment);
item->setInvIndex(index);
mItems[index] = item;
- mItems[index]->setEquipment(equipment);
}
else if (id > 0)
{