summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-08-23 01:57:16 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-08-26 13:20:53 +0200
commit2dfbc2c440f6ce3efd2ae5fdafdf311015b07079 (patch)
tree316ac12828375d1f3ecd9e0feb9990f36db93a09 /crawl-ref/source/branch.cc
parentc1fbd6fca26203ea64b592e144151d560628983f (diff)
downloadcrawl-ref-2dfbc2c440f6ce3efd2ae5fdafdf311015b07079.tar.gz
crawl-ref-2dfbc2c440f6ce3efd2ae5fdafdf311015b07079.zip
Don't use internal data of mon-pick from the outside.
Diffstat (limited to 'crawl-ref/source/branch.cc')
-rw-r--r--crawl-ref/source/branch.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/branch.cc b/crawl-ref/source/branch.cc
index 7b917b18aa..3b495e7109 100644
--- a/crawl-ref/source/branch.cc
+++ b/crawl-ref/source/branch.cc
@@ -68,11 +68,6 @@ int current_level_ambient_noise()
return branches[you.where_are_you].ambient_noise;
}
-bool branch_has_monsters(branch_type branch)
-{
- return branches[branch].mons_rarity_function != mons_null_rare;
-}
-
branch_type get_branch_at(const coord_def& pos)
{
return level_id::current().get_next_level_id(pos).branch;