diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-10-01 14:02:07 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-10-01 14:02:07 +0200 |
commit | 8462aac1127ead1322ea0536e8469ff8ea4a0a4f (patch) | |
tree | 9d1f4ef56e9eb96bcf9f8df6d312c9a09e3c636d /crawl-ref/source/mon-pick.h | |
parent | c748314e68c0136b16d3cb072ffd58327491e50f (diff) | |
download | crawl-ref-8462aac1127ead1322ea0536e8469ff8ea4a0a4f.tar.gz crawl-ref-8462aac1127ead1322ea0536e8469ff8ea4a0a4f.zip |
Get rid of redundant mons_abyss().
It has strictly less usefulness that mons_rare_abyss() and the latter is
exactly as fast to use (bool vs int). And we had to maintain a separate
list that could get out of sync.
Also, s/mons_rare_abyss/mons_abyss_rare/ as all other branches use that order.
Diffstat (limited to 'crawl-ref/source/mon-pick.h')
-rw-r--r-- | crawl-ref/source/mon-pick.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-pick.h b/crawl-ref/source/mon-pick.h index d660aa16ec..556f7fa47e 100644 --- a/crawl-ref/source/mon-pick.h +++ b/crawl-ref/source/mon-pick.h @@ -13,9 +13,7 @@ int mons_rarity(int mcls, const level_id &place = level_id::current()); int mons_level(int mcls, const level_id &place = level_id::current()); -bool mons_abyss(int mcls); - -int mons_rare_abyss(int mcls); +int mons_abyss_rare(int mcls); bool mons_pan(int mcls); |