summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-16 21:45:09 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-16 21:45:09 +0000
commit1179b3508f5782efb790562af87fde58859792ee (patch)
tree213fc15bc5a8bd24a60162cf624c497bafed9a8c
parent41df906d34223ba9465fa503266fa1d49ffd3e80 (diff)
downloadcrawl-ref-1179b3508f5782efb790562af87fde58859792ee.tar.gz
crawl-ref-1179b3508f5782efb790562af87fde58859792ee.zip
Shops could show up in Abyss/Pan. Oops. Will only show up in dungeon now.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2113 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/dungeon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc
index 545f3bb8fd..5fc822b31d 100644
--- a/crawl-ref/source/dungeon.cc
+++ b/crawl-ref/source/dungeon.cc
@@ -791,7 +791,7 @@ static void build_dungeon_level(int level_number, int level_type)
builder_monsters(level_number, level_type, num_mons_wanted(level_type));
// place shops, if appropriate
- if ( your_branch().has_shops )
+ if ( level_type == LEVEL_DUNGEON && your_branch().has_shops )
place_shops(level_number);
fixup_walls();