summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 17:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 17:43:19 +0300
commite3ad003fe09ff90524ffa5deae844e6721b903b2 (patch)
tree756f8cae3ee12060548384ece6750a25bee4ab45 /src/inventory.h
parent4ab7d38fe9033695e23042e97b55999b26f00fd7 (diff)
downloadmv-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.gz
mv-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.bz2
mv-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.xz
mv-e3ad003fe09ff90524ffa5deae844e6721b903b2.zip
Set cards from net code.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 4c9417db4..cddc00709 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -87,15 +87,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 identified,
- const bool damaged,
- const bool favorite,
- const bool equipment,
- const bool equipped);
+ int addItem(const int id,
+ const int quantity,
+ const uint8_t refine,
+ const unsigned char color,
+ const bool identified,
+ const bool damaged,
+ const bool favorite,
+ const bool equipment,
+ const bool equipped);
/**
* Sets the item at the given position.