summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index c896fceb19..0b4ea44422 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -571,14 +571,14 @@ static void _do_wizard_command(int wiz_command, bool silent_fail)
mpr("Fake item as gift from which god (ENTER to leave alone): ",
MSGCH_PROMPT);
- char name[80];
+ char name[80];
if (!cancelable_get_line( name, sizeof( name ) ) && name[0])
{
god_type god = string_to_god(name, false);
if (god == GOD_NO_GOD)
mpr("No such god, leaving item origin alone.");
else
- {
+ {
mprf("God gift of %s.", god_name(god, false).c_str());
item.orig_monnum = -god;
}
@@ -591,7 +591,7 @@ static void _do_wizard_command(int wiz_command, bool silent_fail)
mpr("Failed to turn book into randart.");
break;
}
- }
+ }
else if (!make_item_randart( item ))
{
mpr("Failed to turn item into randart.");
@@ -1754,6 +1754,8 @@ static void _go_upstairs()
{
if (ygrd == DNGN_STONE_ARCH)
mpr("There is nothing on the other side of the stone arch.");
+ else if (ygrd == DNGN_ABANDONED_SHOP)
+ mpr("This shop appears to be closed.");
else
mpr("You can't go up here!");
return;