diff options
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index a7b062381e..c5487f9386 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -2090,9 +2090,11 @@ bool ms_waste_of_time( const monsters *mon, spell_type monspell ) break; case SPELL_INVISIBILITY: - if (mon->has_ench(ENCH_INVIS) || - (mons_friendly(mon) && !player_see_invis(false))) + if (mon->has_ench(ENCH_INVIS) + || (mons_friendly(mon) && !player_see_invis(false))) + { ret = true; + } break; case SPELL_LESSER_HEALING: |