From a9877525597aa94f1d974b8f45567b4168cf6c8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 20 Oct 2014 18:43:00 +0300 Subject: Remove item default parameters. --- src/being/playerinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being') diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index 0000825fe..d76de03fc 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -216,7 +216,7 @@ void setInventoryItem(const int index, const int id, if (itemType != ItemType::UNUSABLE && itemType != ItemType::USABLE) equipment = true; if (mInventory) - mInventory->setItem(index, id, amount, refine, equipment); + mInventory->setItem(index, id, amount, refine, 1, equipment, false); } Equipment *getEquipment() -- cgit v1.2.3-60-g2f50