summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/shopping.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-01 23:19:17 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-07 18:23:19 -0600
commitbaeb71daee0164c92e52602a3b1c413f03454de3 (patch)
tree7606ce84e290d39b8ca954c0a9cbb9df0a626542 /crawl-ref/source/shopping.cc
parent8d54771d4bf288f774a1f2e8c886a256542d28f7 (diff)
downloadcrawl-ref-baeb71daee0164c92e52602a3b1c413f03454de3.tar.gz
crawl-ref-baeb71daee0164c92e52602a3b1c413f03454de3.zip
Gozag: Call Merchant.
Pay half the value of items in one of three randomly generated shops to generate that shop on a level that can generate shops that you haven't visited yet. This shop appears on the Overview screen with a darkened level name so you know exactly where it appeared, and is announced (and its location marked) when you arrive on the level so long as you are still following Gozag at the time.
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r--crawl-ref/source/shopping.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc
index d1b9a9d016..f54ede1baf 100644
--- a/crawl-ref/source/shopping.cc
+++ b/crawl-ref/source/shopping.cc
@@ -1976,7 +1976,7 @@ string shop_name(const coord_def& where, bool add_stop)
return name;
}
-static string _shop_type_name(shop_type type)
+string shop_type_name(shop_type type)
{
switch (type)
{
@@ -2055,7 +2055,7 @@ string shop_name(const coord_def& where)
if (!cshop->shop_type_name.empty())
sh_name += cshop->shop_type_name;
else
- sh_name += _shop_type_name(type);
+ sh_name += shop_type_name(type);
if (!cshop->shop_suffix_name.empty())
sh_name += " " + cshop->shop_suffix_name;