diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-12-30 15:16:46 -0800 |
---|---|---|
committer | Stefan O'Rear <stefanor@cox.net> | 2009-12-30 15:16:46 -0800 |
commit | d795dad2a730ac62f51b1c8a81479bfcfe09c873 (patch) | |
tree | 033a49000cd193249ea4a3673d218f9d704979ae /crawl-ref/source/mon-util.cc | |
parent | 03198aca0dd95ee031adbda1bef852ec49c0ca3b (diff) | |
download | crawl-ref-d795dad2a730ac62f51b1c8a81479bfcfe09c873.tar.gz crawl-ref-d795dad2a730ac62f51b1c8a81479bfcfe09c873.zip |
Fix obviously broken code in has_los_spell
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index fa2ce2be15..d148495560 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -2576,7 +2576,7 @@ static bool _ms_los_spell(spell_type monspell) // True, the tentacles _are_ summoned, but they are restricted to // water just like the kraken is, so it makes more sense not to // count them here. - if (SPELL_KRAKEN_TENTACLES) + if (monspell == SPELL_KRAKEN_TENTACLES) return (false); if (monspell == SPELL_SMITING |