diff options
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r-- | crawl-ref/source/debug.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc index 3bdde02b1a..ba806a9ed0 100644 --- a/crawl-ref/source/debug.cc +++ b/crawl-ref/source/debug.cc @@ -2203,6 +2203,7 @@ void debug_make_shop() int gridch = grd[you.x_pos][you.y_pos]; bool have_shop_slots = false; int new_shop_type = SHOP_UNASSIGNED; + bool representative = false; if (gridch != DNGN_FLOOR) { @@ -2246,7 +2247,10 @@ void debug_make_shop() return; } - place_spec_shop(you.your_level, you.x_pos, you.y_pos, new_shop_type); + representative = !!strchr(requested_shop, '*'); + + place_spec_shop(you.your_level, you.x_pos, you.y_pos, + new_shop_type, representative); link_items(); mprf("Done."); } |