diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-20 18:43:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-20 18:43:00 +0300 |
commit | a9877525597aa94f1d974b8f45567b4168cf6c8e (patch) | |
tree | 56673d8e770302a2846f1d1db0db1a890bba95cd /src/being | |
parent | 2ce675592a1a96cc9960082485797045a921676d (diff) | |
download | manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.gz manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.bz2 manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.xz manaverse-a9877525597aa94f1d974b8f45567b4168cf6c8e.zip |
Remove item default parameters.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/playerinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() |