summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/place.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-30 17:18:31 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-30 17:18:31 +0000
commit2d3f243d6828ab20789b6b95dc501806f903b927 (patch)
treeed5a2df8de1dc4670e6f8d6249def1a89f4c136c /crawl-ref/source/place.cc
parente2179589b89a1d9786aa3111286af81878d21219 (diff)
downloadcrawl-ref-2d3f243d6828ab20789b6b95dc501806f903b927.tar.gz
crawl-ref-2d3f243d6828ab20789b6b95dc501806f903b927.zip
Fixed regex escapes for "." stash search.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2266 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 0bc2fc8a60..67de365065 100644
--- a/crawl-ref/source/place.cc
+++ b/crawl-ref/source/place.cc
@@ -177,3 +177,8 @@ bool level_type_allows_followers(level_area_type type)
{
return (type == LEVEL_DUNGEON || type == LEVEL_PANDEMONIUM);
}
+
+bool level_type_is_stash_trackable(level_area_type type)
+{
+ return (type != LEVEL_ABYSS && type != LEVEL_LABYRINTH);
+}