summaryrefslogtreecommitdiff
path: root/src/shopitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-04 19:06:32 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-04 19:06:32 +0200
commitfcf12d937c55e115e80325f8fbd6069f27a667a3 (patch)
tree26203cd700697f30f9fb8b149b3658deae7db559 /src/shopitem.h
parentd6ef8f92a7abe1e4a635e86f1bcf2675ffbc6658 (diff)
downloadplus-fcf12d937c55e115e80325f8fbd6069f27a667a3.tar.gz
plus-fcf12d937c55e115e80325f8fbd6069f27a667a3.tar.bz2
plus-fcf12d937c55e115e80325f8fbd6069f27a667a3.tar.xz
plus-fcf12d937c55e115e80325f8fbd6069f27a667a3.zip
Update item amount in sell dialog.
Diffstat (limited to 'src/shopitem.h')
-rw-r--r--src/shopitem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shopitem.h b/src/shopitem.h
index 04d26df8f..f2cd3d566 100644
--- a/src/shopitem.h
+++ b/src/shopitem.h
@@ -72,6 +72,8 @@ class ShopItem : public Item
*/
void addDuplicate();
+ void update();
+
/**
* Gets the quantity of the currently topmost duplicate.
*
@@ -125,6 +127,7 @@ class ShopItem : public Item
protected:
int mPrice;
std::string mDisplayName;
+ bool mShowQuantity;
/**
* Struct to keep track of duplicates.