summaryrefslogtreecommitdiff
path: root/src/inventory.h
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/inventory.h
parent2ce675592a1a96cc9960082485797045a921676d (diff)
downloadplus-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.gz
plus-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.bz2
plus-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.xz
plus-a9877525597aa94f1d974b8f45567b4168cf6c8e.zip
Remove item default parameters.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 793c21286..702f6c4dd 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -88,14 +88,15 @@ class Inventory final
* Adds a new item in a free slot.
*/
void addItem(const int id, const int quantity, const uint8_t refine,
- const unsigned char color, const bool equipment = false);
+ const unsigned char color, const bool equipment,
+ const bool equipped);
/**
* Sets the item at the given position.
*/
void setItem(const int index, const int id, const int quantity,
const uint8_t refine, const unsigned char color,
- const bool equipment = false);
+ const bool equipment, const bool equipped);
/**
* Remove a item from the inventory.