diff options
author | gammafunk <gammafunk@gmail.com> | 2014-03-13 00:53:42 -0500 |
---|---|---|
committer | gammafunk <gammafunk@gmail.com> | 2014-03-13 01:33:48 -0500 |
commit | 5c89200ae60cbd66809c35112ba9085dc0c21405 (patch) | |
tree | bca53dfcced77073b4c4f308c8f152a7643bd016 /crawl-ref/source/mutation.h | |
parent | 9acb974c36e13d6e1e53acfe12559f82a054166a (diff) | |
download | crawl-ref-5c89200ae60cbd66809c35112ba9085dc0c21405.tar.gz crawl-ref-5c89200ae60cbd66809c35112ba9085dc0c21405.zip |
Use the correct radius when sensing invisible monsters in LOS (MarvinPA).
Before we were letting the player detect all invisible enemies in LOS
if they had antennae, regardless of mutation level, and were not
checking either Ashenzari's detection radius nor that from the boots
of the assassin at all. This commit also cleans up and documents a few
related functions.
Diffstat (limited to 'crawl-ref/source/mutation.h')
-rw-r--r-- | crawl-ref/source/mutation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mutation.h b/crawl-ref/source/mutation.h index 0c9a81708d..20c52eb6ad 100644 --- a/crawl-ref/source/mutation.h +++ b/crawl-ref/source/mutation.h @@ -95,7 +95,7 @@ bool temp_mutate(mutation_type which_mut, const string &reason); int how_mutated(bool all = false, bool levels = false); void check_demonic_guardian(); -void check_antennae_detect(); +void check_monster_detect(); int handle_pbd_corpses(); equipment_type beastly_slot(int mut); bool physiology_mutation_conflict(mutation_type mutat); |