summaryrefslogtreecommitdiff
path: root/src/shopitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shopitem.h')
-rw-r--r--src/shopitem.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/shopitem.h b/src/shopitem.h
index bfe7fe39a..36ccf3c65 100644
--- a/src/shopitem.h
+++ b/src/shopitem.h
@@ -148,6 +148,12 @@ class ShopItem final : public Item
int getUsedQuantity() const A_WARN_UNUSED
{ return mUsedQuantity; }
+ void setDisabled(const bool b)
+ { mDisabled = b; }
+
+ bool getDisabled() const A_WARN_UNUSED
+ { return mDisabled; }
+
protected:
void updateDisplayName(const int quantity);
@@ -166,6 +172,7 @@ class ShopItem final : public Item
int mUsedQuantity;
bool mShowQuantity;
bool mVisible;
+ bool mDisabled;
};
#endif // SHOPITEM_H