summaryrefslogtreecommitdiff
path: root/src/being/playerinfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-20 18:43:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-20 18:43:00 +0300
commita9877525597aa94f1d974b8f45567b4168cf6c8e (patch)
tree56673d8e770302a2846f1d1db0db1a890bba95cd /src/being/playerinfo.cpp
parent2ce675592a1a96cc9960082485797045a921676d (diff)
downloadManaVerse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.gz
ManaVerse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.bz2
ManaVerse-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.xz
ManaVerse-a9877525597aa94f1d974b8f45567b4168cf6c8e.zip
Remove item default parameters.
Diffstat (limited to 'src/being/playerinfo.cpp')
-rw-r--r--src/being/playerinfo.cpp2
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()