diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-07-21 21:10:13 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-07-21 21:10:13 -0600 |
commit | 95fc361288426b819338f1743e67e05c7882fc73 (patch) | |
tree | 45221eefba3bbcaa5ad15b67fca9e8cec03225b2 /src/inventory.cpp | |
parent | 4cc7305cfa08598398123641987cf1fdf2bd7616 (diff) | |
download | mana-95fc361288426b819338f1743e67e05c7882fc73.tar.gz mana-95fc361288426b819338f1743e67e05c7882fc73.tar.bz2 mana-95fc361288426b819338f1743e67e05c7882fc73.tar.xz mana-95fc361288426b819338f1743e67e05c7882fc73.zip |
Fix handling of odd equipable items
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp index 532d9ab6..4f0a6860 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -91,6 +91,7 @@ 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) { |