diff options
author | Vsevolod Kozlov <zaba@wybt.net> | 2010-12-01 15:44:47 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@wybt.net> | 2010-12-01 16:07:02 +0300 |
commit | 8ba709c198718fc2e481c3fef882c414a4c782a0 (patch) | |
tree | 23aeb4bfedb709793094d87a4817eb1fd070b647 /crawl-ref/source/mon-pick.h | |
parent | 400095ad5f81433c6ae7bc6f2c1c2b8e138ba75f (diff) | |
download | crawl-ref-8ba709c198718fc2e481c3fef882c414a4c782a0.tar.gz crawl-ref-8ba709c198718fc2e481c3fef882c414a4c782a0.zip |
Remove use of mons_global_level to filter results from ?/M.
Also removes mons_global_level itself, since it is no longer used anywhere, and
other things from mon-pick.cc that were only used by it.
The filtering by mons_global_level seems to only have effect when the game is
not started, that is, when ?/M is used on the character selection screen. When
the game is running, its results are the same as without the mons_global_level
filter. So there's no point to keep it around.
Diffstat (limited to 'crawl-ref/source/mon-pick.h')
-rw-r--r-- | crawl-ref/source/mon-pick.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-pick.h b/crawl-ref/source/mon-pick.h index 1092bdf4fd..c0322b164e 100644 --- a/crawl-ref/source/mon-pick.h +++ b/crawl-ref/source/mon-pick.h @@ -14,8 +14,6 @@ int mons_rarity(int mcls, const level_id &place = level_id::current()); int mons_level(int mcls, const level_id &place = level_id::current()); -int mons_global_level(int mcls); - bool mons_abyss(int mcls); int mons_rare_abyss(int mcls); |