summaryrefslogtreecommitdiff
path: root/src/item.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/item.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/item.h')
-rw-r--r--src/item.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/item.h b/src/item.h
index 208be2cc6..be6820d2a 100644
--- a/src/item.h
+++ b/src/item.h
@@ -40,12 +40,12 @@ class Item notfinal
/**
* Constructor.
*/
- explicit Item(const int id = -1,
- const int quantity = 0,
- const uint8_t refine = 0,
- const uint8_t color = 1,
- const bool equipment = false,
- const bool equipped = false);
+ Item(const int id,
+ const int quantity,
+ const uint8_t refine,
+ const uint8_t color,
+ const bool equipment,
+ const bool equipped);
A_DELETE_COPY(Item)
@@ -55,7 +55,7 @@ class Item notfinal
virtual ~Item();
/**
- * Sets the item id, identifying the item type.
+ * Sets the item id, color the item type.
*/
void setId(const int id, const unsigned char color);