summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stash.h')
-rw-r--r--crawl-ref/source/stash.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/crawl-ref/source/stash.h b/crawl-ref/source/stash.h
index 4b3811ec05..d14b67173e 100644
--- a/crawl-ref/source/stash.h
+++ b/crawl-ref/source/stash.h
@@ -145,6 +145,13 @@ public:
bool isAt(int xp, int yp) const { return x == xp && y == yp; }
+ // Messy!
+ struct shop_item
+ {
+ item_def item;
+ unsigned price;
+ };
+
private:
int x, y;
std::string name;
@@ -154,12 +161,6 @@ private:
// Set true if the player has visited this shop
bool visited;
- // Messy!
- struct shop_item
- {
- item_def item;
- unsigned price;
- };
std::vector<shop_item> items;
std::string shop_item_name(const shop_item &si) const;