diff options
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp index 202c3e52..0e5108ac 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -83,7 +83,6 @@ void Inventory::setItem(int index, int id, int quantity, bool equipment) Item *item = new Item(id, quantity, equipment); item->setInvIndex(index); mItems[index] = item; - mItems[index]->setEquipment(equipment); } else if (id > 0) { |