diff options
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r-- | src/gui/itemcontainer.cpp | 5 |
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; +} |