From 9d048c03f63f0f44b8acd264a891deb44aa40e03 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 14 Jul 2005 01:39:39 +0000 Subject: Fix items being shown as eqipped in inventory although they are not --- src/gui/itemcontainer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui') 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; } } -- cgit v1.2.3-70-g09d2