summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-pick.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-08-26 22:24:30 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-08-27 00:23:27 +0200
commit82ae3fd9ebe156f2adc4ac9ad22e06361607cd4b (patch)
tree0896e02e00fac740546ea73fa7ddd5053c3c6915 /crawl-ref/source/mon-pick.h
parent3ec267da4257aa3254b93922b15bf0669897e2a8 (diff)
downloadcrawl-ref-82ae3fd9ebe156f2adc4ac9ad22e06361607cd4b.tar.gz
crawl-ref-82ae3fd9ebe156f2adc4ac9ad22e06361607cd4b.zip
Don't pretend mons_{rarity,level}() use anything but place.branch.
We'd want them to, but that code is getting overhauled anyway, so let's not cloud things.
Diffstat (limited to 'crawl-ref/source/mon-pick.h')
-rw-r--r--crawl-ref/source/mon-pick.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-pick.h b/crawl-ref/source/mon-pick.h
index f5799911d4..1bd5bcb283 100644
--- a/crawl-ref/source/mon-pick.h
+++ b/crawl-ref/source/mon-pick.h
@@ -11,8 +11,8 @@
#define DEPTH_NOWHERE 999
-int mons_rarity(monster_type mcls, const level_id &place = level_id::current());
-int mons_level(monster_type mcls, const level_id &place = level_id::current());
+int mons_rarity(monster_type mcls, branch_type branch);
+int mons_level(monster_type mcls, branch_type branch);
monster_type pick_monster_no_rarity(const level_id &place);
bool branch_has_monsters(branch_type branch);