summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/place.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-28 19:42:10 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-28 19:42:10 +0000
commita779df188c0b4ad71e013c87abc18fa1d9e20cd1 (patch)
tree5f3325ccb8b8281f492fbafc487bd2edfa2ad0a2 /crawl-ref/source/place.cc
parent21c54e7245bb00f366db098092362e9c84f2e59b (diff)
downloadcrawl-ref-a779df188c0b4ad71e013c87abc18fa1d9e20cd1.tar.gz
crawl-ref-a779df188c0b4ad71e013c87abc18fa1d9e20cd1.zip
[1800818] Fixed broken follower tagging for bazaars.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2247 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/place.cc')
-rw-r--r--crawl-ref/source/place.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/place.cc b/crawl-ref/source/place.cc
index e4fe0235ac..0bc2fc8a60 100644
--- a/crawl-ref/source/place.cc
+++ b/crawl-ref/source/place.cc
@@ -172,3 +172,8 @@ bool level_type_exits_down(level_area_type type)
{
return (type == LEVEL_PANDEMONIUM || type == LEVEL_ABYSS);
}
+
+bool level_type_allows_followers(level_area_type type)
+{
+ return (type == LEVEL_DUNGEON || type == LEVEL_PANDEMONIUM);
+}