diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-23 22:06:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-23 22:06:54 +0300 |
commit | c81d80b6cd18977f60f8ba19f898a583c055d117 (patch) | |
tree | 945b484b790640e21247028c38855706d37be45f /src/resources/item/item.h | |
parent | 06711faa8e02ca2e65e9e1cf2d38c359728f6ccf (diff) | |
download | plus-c81d80b6cd18977f60f8ba19f898a583c055d117.tar.gz plus-c81d80b6cd18977f60f8ba19f898a583c055d117.tar.bz2 plus-c81d80b6cd18977f60f8ba19f898a583c055d117.tar.xz plus-c81d80b6cd18977f60f8ba19f898a583c055d117.zip |
Add check for cards for existing item id.
Diffstat (limited to 'src/resources/item/item.h')
-rw-r--r-- | src/resources/item/item.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/item/item.h b/src/resources/item/item.h index 5ae0cbc99..64e5fa063 100644 --- a/src/resources/item/item.h +++ b/src/resources/item/item.h @@ -227,6 +227,8 @@ class Item notfinal void updateColor(); + static bool isItem(const int id); + int mId; /**< Item id. */ ItemColor mColor; int mQuantity; /**< Number of items. */ |