From e3ad003fe09ff90524ffa5deae844e6721b903b2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Oct 2014 17:43:19 +0300 Subject: Set cards from net code. --- src/inventory.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/inventory.h') 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. -- cgit v1.2.3-60-g2f50