From 41e471613e25961e25517de811aa131da033e0f1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jul 2013 21:49:20 +0300 Subject: move bools in shopitem. --- src/shopitem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shopitem.h') 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 mDuplicates; /** <-- Stores duplicates */ + int mPrice; + bool mShowQuantity; }; #endif // SHOPITEM_H -- cgit v1.2.3-60-g2f50