summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/mon-util.cc2
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