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/item.h | |
parent | 2ce675592a1a96cc9960082485797045a921676d (diff) | |
download | mv-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.gz mv-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.bz2 mv-a9877525597aa94f1d974b8f45567b4168cf6c8e.tar.xz mv-a9877525597aa94f1d974b8f45567b4168cf6c8e.zip |
Remove item default parameters.
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 14 |
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); |