summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r--crawl-ref/source/debug.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index 0712d901eb..8bf156786f 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -2359,6 +2359,12 @@ void wizard_create_feature_number()
&& (feat_num = atoi(specs)))
{
dungeon_feature_type feat = static_cast<dungeon_feature_type>(feat_num);
+ if (feat == DNGN_ENTER_SHOP)
+ {
+ debug_make_shop();
+ return;
+ }
+
dungeon_terrain_changed(you.pos(), feat, false);
#ifdef USE_TILE
env.tile_flv(you.pos()).special = 0;
@@ -2410,6 +2416,12 @@ void wizard_create_feature_name()
}
}
+ if (feat == DNGN_ENTER_SHOP)
+ {
+ debug_make_shop();
+ return;
+ }
+
mprf(MSGCH_DIAGNOSTICS, "Setting (%d,%d) to %s (%d)",
you.pos().x, you.pos().y, name.c_str(), feat);
dungeon_terrain_changed(you.pos(), feat, false);