summaryrefslogtreecommitdiff
path: root/src/being/playerinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/playerinfo.cpp')
-rw-r--r--src/being/playerinfo.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp
index d76de03fc..a6ec14c27 100644
--- a/src/being/playerinfo.cpp
+++ b/src/being/playerinfo.cpp
@@ -208,17 +208,6 @@ void clearInventory()
mInventory->clear();
}
-void setInventoryItem(const int index, const int id,
- const int amount, const uint8_t refine)
-{
- bool equipment = false;
- const ItemType::Type itemType = ItemDB::get(id).getType();
- if (itemType != ItemType::UNUSABLE && itemType != ItemType::USABLE)
- equipment = true;
- if (mInventory)
- mInventory->setItem(index, id, amount, refine, 1, equipment, false);
-}
-
Equipment *getEquipment()
{
return mEquipment;