summaryrefslogtreecommitdiff
path: root/src/shopitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 21:49:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 21:49:20 +0300
commit41e471613e25961e25517de811aa131da033e0f1 (patch)
treeb349078bfcc4f46a3cd5406cd7830ddaaa10da46 /src/shopitem.h
parent7fa49d71fd0327de46688dc04a10573b0f8d1b5d (diff)
downloadmanaverse-41e471613e25961e25517de811aa131da033e0f1.tar.gz
manaverse-41e471613e25961e25517de811aa131da033e0f1.tar.bz2
manaverse-41e471613e25961e25517de811aa131da033e0f1.tar.xz
manaverse-41e471613e25961e25517de811aa131da033e0f1.zip
move bools in shopitem.
Diffstat (limited to 'src/shopitem.h')
-rw-r--r--src/shopitem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shopitem.h b/src/shopitem.h
index bf8fd20f2..8eeaadb92 100644
--- a/src/shopitem.h
+++ b/src/shopitem.h
@@ -132,9 +132,7 @@ class ShopItem final : public Item
{ return mDisplayName; }
protected:
- int mPrice;
std::string mDisplayName;
- bool mShowQuantity;
/**
* Struct to keep track of duplicates.
@@ -145,6 +143,8 @@ class ShopItem final : public Item
int quantity;
} DuplicateItem;
std::stack<DuplicateItem*> mDuplicates; /** <-- Stores duplicates */
+ int mPrice;
+ bool mShowQuantity;
};
#endif // SHOPITEM_H