diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-15 02:37:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-15 02:37:23 +0300 |
commit | 5fc61f321cbe6c8f4a4e6529c27603302f3d5eba (patch) | |
tree | 7b5561a239e10bb6437b94a681f66c524c4d8d91 /src/item.h | |
parent | 4761556e5e4cf8471ab65c65c2b3fd4003ac5ba0 (diff) | |
download | mv-5fc61f321cbe6c8f4a4e6529c27603302f3d5eba.tar.gz mv-5fc61f321cbe6c8f4a4e6529c27603302f3d5eba.tar.bz2 mv-5fc61f321cbe6c8f4a4e6529c27603302f3d5eba.tar.xz mv-5fc61f321cbe6c8f4a4e6529c27603302f3d5eba.zip |
Update existing item after inserting card.
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |