summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-14 01:39:39 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-14 01:39:39 +0000
commit9d048c03f63f0f44b8acd264a891deb44aa40e03 (patch)
tree351dc993cf5d7d2bc7bfc607106ccef0135e6251 /src/gui/itemcontainer.cpp
parentde7f10dc69f7d2e7e6e4dbc97b5e8901c0589d62 (diff)
downloadmana-9d048c03f63f0f44b8acd264a891deb44aa40e03.tar.gz
mana-9d048c03f63f0f44b8acd264a891deb44aa40e03.tar.bz2
mana-9d048c03f63f0f44b8acd264a891deb44aa40e03.tar.xz
mana-9d048c03f63f0f44b8acd264a891deb44aa40e03.zip
Fix items being shown as eqipped in inventory although they are not
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r--src/gui/itemcontainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index 3fbad89a..0ccfc3db 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -209,6 +209,7 @@ void ItemContainer::resetItems()
for (int i = 0; i < INVENTORY_SIZE; i++) {
items[i].id = -1;
items[i].quantity = 0;
+ items[i].equipped = false;
}
}