From 5fc61f321cbe6c8f4a4e6529c27603302f3d5eba Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 15 Jul 2015 02:37:23 +0300 Subject: Update existing item after inserting card. --- src/item.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index f14258321..815160c32 100644 --- a/src/item.h +++ b/src/item.h @@ -211,6 +211,8 @@ class Item notfinal int getType() const A_WARN_UNUSED { return mType; } + void addCard(const int card); + int mId; /**< Item type id. */ unsigned char mColor; int mQuantity; /**< Number of items. */ -- cgit v1.2.3-70-g09d2