summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-03-04 16:34:02 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-03-04 16:34:02 +0000
commit7a57cee0d153a4db1d82369aae9160e8ece9ba26 (patch)
treea64fd35942c72d8eb1250effaaca0f4b82768cfc /src/gui/itemcontainer.cpp
parent47ddb7669a56c32597510d8153a6aa156bb4a397 (diff)
downloadmana-7a57cee0d153a4db1d82369aae9160e8ece9ba26.tar.gz
mana-7a57cee0d153a4db1d82369aae9160e8ece9ba26.tar.bz2
mana-7a57cee0d153a4db1d82369aae9160e8ece9ba26.tar.xz
mana-7a57cee0d153a4db1d82369aae9160e8ece9ba26.zip
A bunch of updates:
- inventory fixes - equipment fixes - graphic updates (items and monsters) - weaponary system - fixed status window
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r--src/gui/itemcontainer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index 30d6bde3..4398fcb2 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -184,3 +184,8 @@ void ItemContainer::setEquipped(int index, bool equipped)
{
items[index].equipped = equipped;
}
+
+void ItemContainer::setEquipment(int index, bool equipment)
+{
+ items[index].equipment = equipment;
+}